pub struct InstanceGuard { /* private fields */ }Expand description
Held by main for the duration of the run; dropped on exit (the OS
releases the underlying file lock at the same time). The _handle field
is intentionally unused — the value is alive only for its Drop side
effect of closing the fd.
Auto Trait Implementations§
impl Freeze for InstanceGuard
impl RefUnwindSafe for InstanceGuard
impl Send for InstanceGuard
impl Sync 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