pub trait IntoShared: Sized {
// Provided method
fn into_shared(self) -> Arc<Mutex<RawMutex, Self>> ⓘ { ... }
}Expand description
Wraps this value in an Arc<SyncMutex<>>
Provided Methods§
Wraps this value in an Arc<SyncMutex<>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".