pub struct WorkloadLock { /* private fields */ }Expand description
Acquired exclusive lock on a workload file. Drops the
lock when the handle is dropped (fs4::FileExt’s
contract). Hold this for the duration of one
mutate-and-write cycle.
Trait Implementations§
Source§impl Drop for WorkloadLock
impl Drop for WorkloadLock
Auto Trait Implementations§
impl Forget for WorkloadLock
impl Freeze for WorkloadLockwhere
I32NotAllOnes: Freeze,
impl Move for WorkloadLock
impl RefUnwindSafe for WorkloadLockwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for WorkloadLockwhere
I32NotAllOnes: Send,
impl Sync for WorkloadLockwhere
I32NotAllOnes: Sync,
impl Unpin for WorkloadLockwhere
I32NotAllOnes: Unpin,
impl UnsafeUnpin for WorkloadLockwhere
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for WorkloadLockwhere
I32NotAllOnes: UnwindSafe,
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