Expand description
Similar to Wrapped, except thread-safe.
Tuple Fields
0: *const Mutex<T>
Implementations
Trait Implementations
sourceimpl<T> Clone for ArcWrapped<T>
impl<T> Clone for ArcWrapped<T>
sourceimpl<T: Clone> CloneOwned for ArcWrapped<T>
impl<T: Clone> CloneOwned for ArcWrapped<T>
ToOwned won’t work here
type Owned = T
fn clone_owned(&self) -> T
Auto Trait Implementations
impl<T> RefUnwindSafe for ArcWrapped<T>
impl<T> !Send for ArcWrapped<T>
impl<T> !Sync for ArcWrapped<T>
impl<T> Unpin for ArcWrapped<T>
impl<T> UnwindSafe for ArcWrapped<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more