pub struct InMemoryLock { /* private fields */ }Expand description
内存锁实现 (用于单机测试)
Implementations§
Source§impl InMemoryLock
impl InMemoryLock
Trait Implementations§
Source§impl DistributedLock for InMemoryLock
impl DistributedLock for InMemoryLock
Auto Trait Implementations§
impl Freeze for InMemoryLock
impl !RefUnwindSafe for InMemoryLock
impl Send for InMemoryLock
impl Sync for InMemoryLock
impl Unpin for InMemoryLock
impl UnsafeUnpin for InMemoryLock
impl !UnwindSafe for InMemoryLock
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