pub enum Kind<'a> {
Refused(&'a Refused),
Cleanup {
primary: Failure,
cleanup: Failure,
},
Release {
primary: Removal,
cleanup: Mapping,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for Kind<'a>
impl<'a> !Sync for Kind<'a>
impl<'a> Forget for Kind<'a>
impl<'a> Freeze for Kind<'a>
impl<'a> Move for Kind<'a>
impl<'a> RefUnwindSafe for Kind<'a>where
NonZero<i32>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
Code: RefUnwindSafe,
Parts<Encoded<Context>, Outcome, Flags>: RefUnwindSafe,
Index: RefUnwindSafe,
Fixed: RefUnwindSafe,
impl<'a> Unpin for Kind<'a>
impl<'a> UnsafeUnpin for Kind<'a>where
&'a Refused: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*mut c_void: UnsafeUnpin,
Code: UnsafeUnpin,
Parts<Encoded<Context>, Outcome, Flags>: UnsafeUnpin,
Index: UnsafeUnpin,
Fixed: UnsafeUnpin,
impl<'a> UnwindSafe for Kind<'a>where
&'a Refused: UnwindSafe,
NonZero<i32>: UnwindSafe,
NonZero<u32>: UnwindSafe,
*mut c_void: UnwindSafe,
Code: UnwindSafe,
Parts<Encoded<Context>, Outcome, Flags>: UnwindSafe,
Index: UnwindSafe,
Fixed: 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