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> PartialOrd for Arc<P>
impl<P> PartialOrd for Arc<P>
impl<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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)