pub struct StoreLockOptions {
pub kind: StoreLockKind,
pub timeout: Duration,
pub trace: bool,
}Expand description
The parsed --lock, --no-lock and --lock-timeout options.
Fields§
§kind: StoreLockKind§timeout: DurationHow long to wait for a held lock; zero tries once.
trace: boolReport waiting, breaking and acquiring on stderr.
Implementations§
Trait Implementations§
Source§impl Clone for StoreLockOptions
impl Clone for StoreLockOptions
Source§impl Debug for StoreLockOptions
impl Debug for StoreLockOptions
Source§impl Default for StoreLockOptions
impl Default for StoreLockOptions
impl Eq for StoreLockOptions
Source§impl PartialEq for StoreLockOptions
impl PartialEq for StoreLockOptions
impl StructuralPartialEq for StoreLockOptions
Auto Trait Implementations§
impl Freeze for StoreLockOptions
impl RefUnwindSafe for StoreLockOptions
impl Send for StoreLockOptions
impl Sync for StoreLockOptions
impl Unpin for StoreLockOptions
impl UnsafeUnpin for StoreLockOptions
impl UnwindSafe for StoreLockOptions
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