pub enum Cleanup<O, S> {
Owner(O),
Storage(S),
}Expand description
Exact failure from either phase of an owner followed by its retained storage.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<O, S> Freeze for Cleanup<O, S>
impl<O, S> RefUnwindSafe for Cleanup<O, S>where
O: RefUnwindSafe,
S: RefUnwindSafe,
impl<O, S> Send for Cleanup<O, S>
impl<O, S> Sync for Cleanup<O, S>
impl<O, S> Unpin for Cleanup<O, S>
impl<O, S> UnsafeUnpin for Cleanup<O, S>where
O: UnsafeUnpin,
S: UnsafeUnpin,
impl<O, S> UnwindSafe for Cleanup<O, S>where
O: UnwindSafe,
S: 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