Skip to main content

IntoShared

Trait IntoShared 

Source
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§

Source

fn into_shared(self) -> Arc<Mutex<RawMutex, Self>>

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".

Implementors§

Source§

impl<T> IntoShared for T