pub enum SyncMode {
All,
Data,
}Expand description
The file data and metadata requested by FileSync::file_sync. A backend may provide stronger synchronization than requested.
Variants§
All
Synchronize file contents and metadata, like std::fs::File::sync_all.
Data
Synchronize file contents and metadata needed to retrieve them. Other metadata may be omitted, like std::fs::File::sync_data.
Trait Implementations§
impl Copy for SyncMode
impl Eq for SyncMode
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 UnsafeUnpin 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