pub enum LockWait {
Secs(u64),
UntilCeiling,
}Expand description
The budget for a declared wait, as lock_wait reads it.
Variants§
Secs(u64)
UntilCeiling
amont.lockWait 0: the ceiling alone bounds a declared wait — and
when the ceiling is off too, the extended silence budget does, so
nothing is ever unbounded.
Trait Implementations§
impl Copy for LockWait
impl Eq for LockWait
impl StructuralPartialEq for LockWait
Auto Trait Implementations§
impl Freeze for LockWait
impl RefUnwindSafe for LockWait
impl Send for LockWait
impl Sync for LockWait
impl Unpin for LockWait
impl UnsafeUnpin for LockWait
impl UnwindSafe for LockWait
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