pub struct LocksOptions {
pub store: SharedLockStore,
pub default_ttl: Duration,
}Fields§
§store: SharedLockStore§default_ttl: DurationTrait Implementations§
Source§impl Clone for LocksOptions
impl Clone for LocksOptions
Auto Trait Implementations§
impl !RefUnwindSafe for LocksOptions
impl !UnwindSafe for LocksOptions
impl Forget for LocksOptions
impl Freeze for LocksOptions
impl Send for LocksOptions
impl Sync for LocksOptions
impl Unpin for LocksOptions
impl UnsafeUnpin for LocksOptions
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