pub struct Cown<T> { /* private fields */ }Expand description
A piece of concurrently owned data.
In order to access it, you must schedule a behaviour onto it with when.
Implementations§
Trait Implementations§
Source§impl<A: 'static> CownCollection for &Cown<A>
impl<A: 'static> CownCollection for &Cown<A>
type Acquired<'a> = AcquiredCown<'a, A>
fn schedule_onto<Func>(self, func: Func)
Auto Trait Implementations§
impl<T> Freeze for Cown<T>
impl<T> RefUnwindSafe for Cown<T>
impl<T> Send for Cown<T>where
T: Send,
impl<T> Sync for Cown<T>where
T: Send,
impl<T> Unpin for Cown<T>where
T: Unpin,
impl<T> UnwindSafe for Cown<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more