pub struct KeyedLock { /* private fields */ }Expand description
A bank of sharded async mutexes providing per-key single-flight.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for KeyedLock
impl !UnwindSafe for KeyedLock
impl Freeze for KeyedLock
impl Send for KeyedLock
impl Sync for KeyedLock
impl Unpin for KeyedLock
impl UnsafeUnpin for KeyedLock
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