pub enum SyncMode {
Sync,
Filesystem,
File,
Data,
}
Variants§
Sync
Sync all filesystem caches in system to disk.
Filesystem
Sync the file systems that contain the file.
File
Sync file data and metadata.
Data
Sync only file data, no unneeded metadata.
Trait Implementations§
impl StructuralPartialEq for SyncMode
Auto Trait Implementations§
impl Freeze for SyncMode
impl RefUnwindSafe for SyncMode
impl Send for SyncMode
impl Sync for SyncMode
impl Unpin for SyncMode
impl UnwindSafe for SyncMode
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