pub enum DurabilityLevel {
Memory,
Disk,
Replicated,
Majority,
Unknown,
}Expand description
Durability labels for write persistence modeling.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DurabilityLevel
impl Clone for DurabilityLevel
Source§fn clone(&self) -> DurabilityLevel
fn clone(&self) -> DurabilityLevel
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 moreSource§impl Debug for DurabilityLevel
impl Debug for DurabilityLevel
Source§impl Default for DurabilityLevel
impl Default for DurabilityLevel
Source§fn default() -> DurabilityLevel
fn default() -> DurabilityLevel
Returns the “default value” for a type. Read more
Source§impl Display for DurabilityLevel
impl Display for DurabilityLevel
Source§impl Hash for DurabilityLevel
impl Hash for DurabilityLevel
Source§impl Ord for DurabilityLevel
impl Ord for DurabilityLevel
Source§fn cmp(&self, other: &DurabilityLevel) -> Ordering
fn cmp(&self, other: &DurabilityLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DurabilityLevel
impl PartialEq for DurabilityLevel
Source§fn eq(&self, other: &DurabilityLevel) -> bool
fn eq(&self, other: &DurabilityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DurabilityLevel
impl PartialOrd for DurabilityLevel
impl Copy for DurabilityLevel
impl Eq for DurabilityLevel
impl StructuralPartialEq for DurabilityLevel
Auto Trait Implementations§
impl Freeze for DurabilityLevel
impl RefUnwindSafe for DurabilityLevel
impl Send for DurabilityLevel
impl Sync for DurabilityLevel
impl Unpin for DurabilityLevel
impl UnsafeUnpin for DurabilityLevel
impl UnwindSafe for DurabilityLevel
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