pub struct Arc<P>where
P: Pool,{ /* private fields */ }
Expand description
std::sync::Arc
but backed by a memory Pool
rather than #[global_allocator]
An example and more details can be found in the module level documentation.
Implementations§
Trait Implementations§
source§impl<P> Ord for Arc<P>
impl<P> Ord for Arc<P>
source§impl<P> PartialEq for Arc<P>
impl<P> PartialEq for Arc<P>
source§impl<P> PartialOrd for Arc<P>
impl<P> PartialOrd for Arc<P>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<P> Eq for Arc<P>
impl<P> Send for Arc<P>
impl<P> Sync for Arc<P>
impl<P> Unpin for Arc<P>where
P: Pool,
Auto Trait Implementations§
impl<P> !RefUnwindSafe 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