pub enum Cause<P, O, E> {
Enter {
probe: P,
error: E,
},
Missing(P),
Unexpected {
probe: P,
observed: O,
},
Residual {
probe: P,
submit: U32<0, { u32::MAX }>,
complete: U32<0, { u32::MAX }>,
},
Check(Failure<P, O>),
}Expand description
Exact kernel or completion evidence that stopped a capability canary.
Variants§
Implementations§
Trait Implementations§
impl<P: Copy, O: Copy, E: Copy> Copy for Cause<P, O, E>
impl<P: Eq, O: Eq, E: Eq> Eq for Cause<P, O, E>
impl<P: PartialEq, O: PartialEq, E: PartialEq> StructuralPartialEq for Cause<P, O, E>
Auto Trait Implementations§
impl<P, O, E> Freeze for Cause<P, O, E>
impl<P, O, E> RefUnwindSafe for Cause<P, O, E>
impl<P, O, E> Send for Cause<P, O, E>
impl<P, O, E> Sync for Cause<P, O, E>
impl<P, O, E> Unpin for Cause<P, O, E>
impl<P, O, E> UnsafeUnpin for Cause<P, O, E>
impl<P, O, E> UnwindSafe for Cause<P, O, E>
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