pub trait LockMut:
Send
+ Sync
+ 'static {
type Inner;
type Output<'a>: DerefMut<Target = Self::Inner> + Send;
// Required method
fn lock_mut<'a>(&'a self) -> impl Future<Output = Self::Output<'a>> + Send;
}
Expand description
Locking primitives, Mutable Access
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.