pub trait BindingsSyncTypes {
type Mutex: RawMutex + Send + Sync + 'static;
type RwLock: RawRwLock + Send + Sync + 'static;
type Once: Once + Send + Sync + 'static;
}Expand description
Synchronization primitive types provided by bindings.
Required Associated Types§
Sourcetype Mutex: RawMutex + Send + Sync + 'static
type Mutex: RawMutex + Send + Sync + 'static
The raw mutex implementation used by netstack3_sync::Mutex.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".