pub struct LockOptions {
pub timeout: Duration,
pub stale: Duration,
pub poll: Duration,
}Fields§
§timeout: Duration§stale: DurationOnly for a lock directory with no readable owner record: how long before it counts as abandoned. Never applied to a lock whose owner is alive.
poll: DurationTrait Implementations§
Source§impl Clone for LockOptions
impl Clone for LockOptions
Source§impl Debug for LockOptions
impl Debug for LockOptions
Auto Trait Implementations§
impl Freeze for LockOptions
impl RefUnwindSafe for LockOptions
impl Send for LockOptions
impl Sync for LockOptions
impl Unpin for LockOptions
impl UnsafeUnpin for LockOptions
impl UnwindSafe for LockOptions
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