pub unsafe trait NSLocking {
// Provided methods
unsafe fn lock(&self)
where Self: Sized + Message { ... }
unsafe fn unlock(&self)
where Self: Sized + Message { ... }
}Available on crate feature
NSLock only.Expand description
Provided Methods§
Trait Implementations§
Source§impl ProtocolType for dyn NSLocking
impl ProtocolType for dyn NSLocking
impl<T> ImplementedBy<T> for dyn NSLocking
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".