pub enum SyncKind {
Barrier,
Full,
}Expand description
Storage-ordering primitive requested by a persisted commit.
Variants§
Barrier
Order prior writes before later writes without requesting durable media.
Linux has no barrier-only primitive, so ordered durability degrades
to fdatasync on Linux.
Full
Flush prior writes through the platform’s durable-media primitive.
Trait Implementations§
impl Copy for SyncKind
impl Eq for SyncKind
impl StructuralPartialEq for SyncKind
Auto Trait Implementations§
impl Freeze for SyncKind
impl RefUnwindSafe for SyncKind
impl Send for SyncKind
impl Sync for SyncKind
impl Unpin for SyncKind
impl UnsafeUnpin for SyncKind
impl UnwindSafe for SyncKind
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