pub struct SeizeGuard<'f>(/* private fields */);Expand description
Guards the referenced Facility to ensure that it is vacated at the end of the Guard’s scope.
Implementations§
Source§impl SeizeGuard<'_>
impl SeizeGuard<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'f> Freeze for SeizeGuard<'f>
impl<'f> !RefUnwindSafe for SeizeGuard<'f>
impl<'f> !Send for SeizeGuard<'f>
impl<'f> !Sync for SeizeGuard<'f>
impl<'f> Unpin for SeizeGuard<'f>
impl<'f> !UnwindSafe for SeizeGuard<'f>
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