pub trait LockRef:
Send
+ Sync
+ 'static {
type Inner;
type Output<'a>: Deref<Target = Self::Inner> + Send;
// Required method
fn lock_ref<'a>(&'a self) -> impl Future<Output = Self::Output<'a>> + Send;
}Expand description
Locking primitives, Immutable 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".