pub struct Arc<P>where
P: ArcPool,{ /* private fields */ }Available on (
arm_llsc, or 32-bit and (target_has_atomic=64 or crate feature portable-atomic), or 64-bit and (target_has_atomic=128 and crate feature nightly, or crate feature portable-atomic)) and (crate feature portable-atomic or target_has_atomic=ptr) only.Expand description
Like std::sync::Arc but managed by memory pool P
Trait Implementations§
Source§impl<A> Ord for Arc<A>
impl<A> Ord for Arc<A>
Source§impl<A, B> PartialOrd<Arc<B>> for Arc<A>
impl<A, B> PartialOrd<Arc<B>> for Arc<A>
impl<A> Eq for Arc<A>
impl<A> Send for Arc<A>
impl<A> Sync for Arc<A>
impl<A> Unpin for Arc<A>where
A: ArcPool,
Auto Trait Implementations§
impl<P> Freeze for Arc<P>
impl<P> RefUnwindSafe for Arc<P>
impl<P> UnsafeUnpin for Arc<P>
impl<P> UnwindSafe for Arc<P>
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