pub struct WriterLock { /* private fields */ }Expand description
Advisory process lock. The lock inode is never removed; OS closure releases it.
Implementations§
Source§impl WriterLock
impl WriterLock
pub fn acquire(host: &HostContext) -> Result<Self>
Auto Trait Implementations§
impl Forget for WriterLock
impl Freeze for WriterLock
impl Move for WriterLock
impl RefUnwindSafe for WriterLock
impl Send for WriterLock
impl Sync for WriterLock
impl Unpin for WriterLock
impl UnsafeUnpin for WriterLock
impl UnwindSafe for WriterLock
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