Enum Durability
pub enum Durability {
Record,
Os,
}Expand description
When the log asks the filesystem to make publication metadata durable.
Both settings sync each immutable extent and the bounded head before its generation-bound rename. New data files and their directories are synced before the first referencing head. Filesystem/NFS power-loss guarantees remain mount-specific.
Variants§
Record
Additionally request a containing-directory sync after each head rename.
Os
Leave metadata durability after head publication to the operating system. Extent data, first-file directory entries, and staged heads remain synced.
Trait Implementations§
§impl Clone for Durability
impl Clone for Durability
§fn clone(&self) -> Durability
fn clone(&self) -> Durability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Durability
§impl Debug for Durability
impl Debug for Durability
§impl Default for Durability
impl Default for Durability
§fn default() -> Durability
fn default() -> Durability
Returns the “default value” for a type. Read more
impl Eq for Durability
§impl PartialEq for Durability
impl PartialEq for Durability
impl StructuralPartialEq for Durability
Auto Trait Implementations§
impl Freeze for Durability
impl RefUnwindSafe for Durability
impl Send for Durability
impl Sync for Durability
impl Unpin for Durability
impl UnsafeUnpin for Durability
impl UnwindSafe for Durability
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