pub enum Why {
Contract(Vec<LeafFailure>),
Durability {
declared: Durability,
wanted: Durability,
},
DurabilityUnknown {
wanted: Durability,
},
}Expand description
Why a backend is not in the ranking.
Variants§
Contract(Vec<LeafFailure>)
Failed (or was never tested on) a needed leaf.
Durability
Its declared durability is below the minimum.
DurabilityUnknown
No durability declaration exists, and the need asks for more than Volatile.
Fields
§
wanted: DurabilityWhat was asked for.
Trait Implementations§
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Freeze for Why
impl RefUnwindSafe for Why
impl Send for Why
impl Sync for Why
impl Unpin for Why
impl UnsafeUnpin for Why
impl UnwindSafe for Why
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