pub struct InstanceGuard { /* private fields */ }Expand description
Guard that keeps the named single-instance mutex alive for the current process.
Dropping this value releases the underlying mutex handle.
Trait Implementations§
Source§impl Debug for InstanceGuard
impl Debug for InstanceGuard
Source§impl Drop for InstanceGuard
impl Drop for InstanceGuard
Auto Trait Implementations§
impl !Send for InstanceGuard
impl !Sync for InstanceGuard
impl Freeze for InstanceGuard
impl RefUnwindSafe for InstanceGuard
impl Unpin for InstanceGuard
impl UnsafeUnpin for InstanceGuard
impl UnwindSafe for InstanceGuard
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