#[repr(u32)]pub enum WriteCommitted {
Unstable = 0,
DataSync = 1,
FileSync = 2,
}Expand description
Server-reported WRITE commitment (RFC 1813 §3.3.7, RFC 7530 §16.38, RFC 5661 §18.32). This describes the response, not the requested stability.
Variants§
Unstable = 0
Data may be volatile; data and metadata still require synchronization.
DataSync = 1
Data and metadata needed to recover it are durable; other metadata may not be.
FileSync = 2
File data and metadata are durable.
Trait Implementations§
Source§impl Clone for WriteCommitted
impl Clone for WriteCommitted
Source§fn clone(&self) -> WriteCommitted
fn clone(&self) -> WriteCommitted
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 WriteCommitted
Source§impl Debug for WriteCommitted
impl Debug for WriteCommitted
impl Eq for WriteCommitted
Source§impl Ord for WriteCommitted
impl Ord for WriteCommitted
Source§fn cmp(&self, other: &WriteCommitted) -> Ordering
fn cmp(&self, other: &WriteCommitted) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WriteCommitted
impl PartialEq for WriteCommitted
Source§impl PartialOrd for WriteCommitted
impl PartialOrd for WriteCommitted
impl StructuralPartialEq for WriteCommitted
Auto Trait Implementations§
impl Freeze for WriteCommitted
impl RefUnwindSafe for WriteCommitted
impl Send for WriteCommitted
impl Sync for WriteCommitted
impl Unpin for WriteCommitted
impl UnsafeUnpin for WriteCommitted
impl UnwindSafe for WriteCommitted
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