pub struct DiskBackupOpts {
pub source: PathBuf,
pub dest_dir: PathBuf,
pub include_boot_sectors: bool,
pub force: bool,
}Expand description
Options for a partclone-based eMMC partition backup.
Fields§
§source: PathBufBlock device or partition to image.
dest_dir: PathBufDirectory that receives image files.
include_boot_sectors: boolWhen true, also capture early boot sectors.
force: boolWhen true, allow apply even if root is not clearly an SD/USB boot.
Still refuses when root is clearly the source eMMC (mmcblk0).
Trait Implementations§
Source§impl Clone for DiskBackupOpts
impl Clone for DiskBackupOpts
Source§fn clone(&self) -> DiskBackupOpts
fn clone(&self) -> DiskBackupOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiskBackupOpts
impl Debug for DiskBackupOpts
Auto Trait Implementations§
impl Freeze for DiskBackupOpts
impl RefUnwindSafe for DiskBackupOpts
impl Send for DiskBackupOpts
impl Sync for DiskBackupOpts
impl Unpin for DiskBackupOpts
impl UnsafeUnpin for DiskBackupOpts
impl UnwindSafe for DiskBackupOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more