Enum grebedb::vfs::VfsSyncOption [−][src]
File system synchronization options for synchronizing data to disk.
Variants
Don’t require any flushing.
Flush file content only. Equivalent to File::sync_data()
or Unix fdatasync()
.
Flush file content and metadata. Equivalent to File::sync_all()
or Unix fsync()
.
Trait Implementations
impl Clone for VfsSyncOption
[src]
fn clone(&self) -> VfsSyncOption
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VfsSyncOption
[src]
impl Debug for VfsSyncOption
[src]
impl Default for VfsSyncOption
[src]
impl Eq for VfsSyncOption
[src]
impl From<SyncOption> for VfsSyncOption
[src]
fn from(option: SyncOption) -> Self
[src]
impl PartialEq<VfsSyncOption> for VfsSyncOption
[src]
fn eq(&self, other: &VfsSyncOption) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for VfsSyncOption
[src]
impl StructuralPartialEq for VfsSyncOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for VfsSyncOption
impl Send for VfsSyncOption
impl Sync for VfsSyncOption
impl Unpin for VfsSyncOption
impl UnwindSafe for VfsSyncOption
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,