pub struct SingleInstanceGuard { /* private fields */ }Expand description
Holds one primary claim. Dropping it releases the claim, the same as [destroy] does for all.
Trait Implementations§
Source§impl Drop for SingleInstanceGuard
impl Drop for SingleInstanceGuard
Auto Trait Implementations§
impl Freeze for SingleInstanceGuard
impl RefUnwindSafe for SingleInstanceGuard
impl Send for SingleInstanceGuard
impl Sync for SingleInstanceGuard
impl Unpin for SingleInstanceGuard
impl UnsafeUnpin for SingleInstanceGuard
impl UnwindSafe for SingleInstanceGuard
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