pub enum CleanupStrategy {
Never,
Always,
}Expand description
A strategy AnchorMut employs to perform cleanup after drop.
Variants§
Auto Trait Implementations§
impl Freeze for CleanupStrategy
impl RefUnwindSafe for CleanupStrategy
impl Send for CleanupStrategy
impl Sync for CleanupStrategy
impl Unpin for CleanupStrategy
impl UnwindSafe for CleanupStrategy
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