Enum grebedb::SyncOption [−][src]
pub enum SyncOption { None, Data, All, }
Expand description
Level of file synchronization for files created by the database.
These options are equivalent to vfs::VfsSyncOption
.
Variants
Don’t require any flushing and simply overwrite files.
Flush file content only and use file rename technique.
Flush command is equivalent to File::sync_data()
or Unix fdatasync()
.
Flush file content including metadata and use file rename technique.
Flush command is equivalent to File::sync_all()
or Unix fsync()
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SyncOption
impl Send for SyncOption
impl Sync for SyncOption
impl Unpin for SyncOption
impl UnwindSafe for SyncOption
Blanket Implementations
Mutably borrows from an owned value. Read more