pub enum Failure<S, W> {
Storage(S),
Memory(Error),
Wait(W),
}Expand description
Current cleanup evidence is independent of the original construction error.
Variants§
Trait Implementations§
impl<S: Copy, W: Copy> Copy for Failure<S, W>
impl<S: Eq, W: Eq> Eq for Failure<S, W>
impl<S: PartialEq, W: PartialEq> StructuralPartialEq for Failure<S, W>
Auto Trait Implementations§
impl<S, W> !Send for Failure<S, W>
impl<S, W> !Sync for Failure<S, W>
impl<S, W> Forget for Failure<S, W>
impl<S, W> Freeze for Failure<S, W>
impl<S, W> RefUnwindSafe for Failure<S, W>where
S: RefUnwindSafe,
W: RefUnwindSafe,
impl<S, W> Unpin for Failure<S, W>
impl<S, W> UnsafeUnpin for Failure<S, W>where
S: UnsafeUnpin,
W: UnsafeUnpin,
impl<S, W> UnwindSafe for Failure<S, W>where
S: UnwindSafe,
W: 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