Enum grebedb::SyncOption [−][src]
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
impl Clone for SyncOption[src]
fn clone(&self) -> SyncOption[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SyncOption[src]
impl Debug for SyncOption[src]
impl Default for SyncOption[src]
impl Eq for SyncOption[src]
impl From<SyncOption> for VfsSyncOption[src]
fn from(option: SyncOption) -> Self[src]
impl PartialEq<SyncOption> for SyncOption[src]
fn eq(&self, other: &SyncOption) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for SyncOption[src]
impl StructuralPartialEq for SyncOption[src]
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
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>,