pub enum WarrantyClass {
Complete,
SharedDevice,
BestEffort,
}Expand description
How far a target honours the contract’s obligations (DI-D-50 P3). Information only: dioring
behaves identically for every class and does not label a Durable with it.
Variants§
Complete
Reports every failure affecting its writes.
Reports every failure of its own, but not a failure of another writer sharing its device’s volatile cache.
BestEffort
May report success for a commit over data already lost.
Trait Implementations§
Source§impl Clone for WarrantyClass
impl Clone for WarrantyClass
Source§fn clone(&self) -> WarrantyClass
fn clone(&self) -> WarrantyClass
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 WarrantyClass
Source§impl Debug for WarrantyClass
impl Debug for WarrantyClass
impl Eq for WarrantyClass
Source§impl Hash for WarrantyClass
impl Hash for WarrantyClass
Source§impl PartialEq for WarrantyClass
impl PartialEq for WarrantyClass
impl StructuralPartialEq for WarrantyClass
Auto Trait Implementations§
impl Freeze for WarrantyClass
impl RefUnwindSafe for WarrantyClass
impl Send for WarrantyClass
impl Sync for WarrantyClass
impl Unpin for WarrantyClass
impl UnsafeUnpin for WarrantyClass
impl UnwindSafe for WarrantyClass
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