pub struct Failure<P, O> { /* private fields */ }Expand description
Couples a canary’s caller-owned identity with its exact rejection evidence.
Implementations§
Trait Implementations§
impl<P: Copy, O: Copy> Copy for Failure<P, O>
impl<P: Eq, O: Eq> Eq for Failure<P, O>
impl<P: PartialEq, O: PartialEq> StructuralPartialEq for Failure<P, O>
Auto Trait Implementations§
impl<P, O> Forget for Failure<P, O>
impl<P, O> Freeze for Failure<P, O>
impl<P, O> RefUnwindSafe for Failure<P, O>
impl<P, O> Send for Failure<P, O>
impl<P, O> Sync for Failure<P, O>
impl<P, O> Unpin for Failure<P, O>
impl<P, O> UnsafeUnpin for Failure<P, O>
impl<P, O> UnwindSafe for Failure<P, O>
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