pub struct RestoreOptions {
pub lock: LockMode,
pub max_image_bytes: Option<u64>,
}Fields§
§lock: LockModeHow the writer lock on the directory being restored into is taken. As in BackupOptions.
max_image_bytes: Option<u64>Refuses a backup holding an image file larger than this, before anything is replaced.
Trait Implementations§
Source§impl Clone for RestoreOptions
impl Clone for RestoreOptions
Source§impl Debug for RestoreOptions
impl Debug for RestoreOptions
Auto Trait Implementations§
impl Freeze for RestoreOptions
impl RefUnwindSafe for RestoreOptions
impl Send for RestoreOptions
impl Sync for RestoreOptions
impl Unpin for RestoreOptions
impl UnsafeUnpin for RestoreOptions
impl UnwindSafe for RestoreOptions
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