pub enum DurableFailureCause<E> {
Backend(E),
Injected(SimulatorFault),
}Expand description
The source of a durable operation failure.
Variants§
Backend(E)
An error from the real backend or a recorded external completion.
Injected(SimulatorFault)
An explicit test-owned boundary fault.
Trait Implementations§
Source§impl<E: Clone> Clone for DurableFailureCause<E>
impl<E: Clone> Clone for DurableFailureCause<E>
Source§impl<E: Debug> Debug for DurableFailureCause<E>
impl<E: Debug> Debug for DurableFailureCause<E>
impl<E: Eq> Eq for DurableFailureCause<E>
Source§impl<E: PartialEq> PartialEq for DurableFailureCause<E>
impl<E: PartialEq> PartialEq for DurableFailureCause<E>
impl<E: PartialEq> StructuralPartialEq for DurableFailureCause<E>
Auto Trait Implementations§
impl<E> Freeze for DurableFailureCause<E>where
E: Freeze,
impl<E> RefUnwindSafe for DurableFailureCause<E>where
E: RefUnwindSafe,
impl<E> Send for DurableFailureCause<E>where
E: Send,
impl<E> Sync for DurableFailureCause<E>where
E: Sync,
impl<E> Unpin for DurableFailureCause<E>where
E: Unpin,
impl<E> UnsafeUnpin for DurableFailureCause<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for DurableFailureCause<E>where
E: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.