pub struct PidGuard { /* private fields */ }Expand description
Holds the PID-file lock for the lifetime of the daemon. Removes the file on drop (best-effort).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PidGuard
impl RefUnwindSafe for PidGuard
impl Send for PidGuard
impl Sync for PidGuard
impl Unpin for PidGuard
impl UnsafeUnpin for PidGuard
impl UnwindSafe for PidGuard
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