pub struct DaemonLock {
pub path: PathBuf,
/* private fields */
}Fields§
§path: PathBufImplementations§
Source§impl DaemonLock
impl DaemonLock
pub fn acquire(data_dir: &Path) -> Result<Self, DaemonError>
Trait Implementations§
Source§impl Debug for DaemonLock
impl Debug for DaemonLock
Source§impl Drop for DaemonLock
impl Drop for DaemonLock
Auto Trait Implementations§
impl Freeze for DaemonLock
impl RefUnwindSafe for DaemonLock
impl Send for DaemonLock
impl Sync for DaemonLock
impl Unpin for DaemonLock
impl UnsafeUnpin for DaemonLock
impl UnwindSafe for DaemonLock
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