pub struct Guard<'a, T: Send + 'static> { /* private fields */ }
Implementations
sourceimpl<'a, T: Send + 'static> Guard<'a, T>
impl<'a, T: Send + 'static> Guard<'a, T>
pub fn defer_drop(&mut self, item: T)
Trait Implementations
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Guard<'a, T>
impl<'a, T> Send for Guard<'a, T>
impl<'a, T> !Sync for Guard<'a, T>
impl<'a, T> Unpin for Guard<'a, T>
impl<'a, T> !UnwindSafe for Guard<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more