pub struct InstanceLock { /* private fields */ }Expand description
Held for the lifetime of serve; removes the pidfile on drop.
Implementations§
Trait Implementations§
Source§impl Drop for InstanceLock
impl Drop for InstanceLock
Auto Trait Implementations§
impl Freeze for InstanceLock
impl RefUnwindSafe for InstanceLock
impl Send for InstanceLock
impl Sync for InstanceLock
impl Unpin for InstanceLock
impl UnsafeUnpin for InstanceLock
impl UnwindSafe for InstanceLock
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