Enum grebedb::vfs::VfsSyncOption[][src]

pub enum VfsSyncOption {
    None,
    Data,
    All,
}

File system synchronization options for synchronizing data to disk.

Variants

None

Don’t require any flushing.

Data

Flush file content only. Equivalent to File::sync_data() or Unix fdatasync().

All

Flush file content and metadata. Equivalent to File::sync_all() or Unix fsync().

Trait Implementations

impl Clone for VfsSyncOption[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]

impl PartialEq<VfsSyncOption> for VfsSyncOption[src]

impl StructuralEq for VfsSyncOption[src]

impl StructuralPartialEq for VfsSyncOption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.