pub trait WriteLock<'a> {
type Output;
// Required methods
unsafe fn lock_info(&self) -> LockInfo<'_>;
unsafe fn lock_unchecked(self) -> <Self as WriteLock<'a>>::Output;
// Provided method
fn write(self) -> Mut<Self>
where Self: Sized { ... }
}Required Associated Types§
Required Methods§
unsafe fn lock_info(&self) -> LockInfo<'_>
unsafe fn lock_unchecked(self) -> <Self as WriteLock<'a>>::Output
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".