pub trait ArcPool: Sized {
type Data: 'static;
// Provided methods
fn alloc(value: Self::Data) -> Result<Arc<Self>, Self::Data> { ... }
fn manage(block: &'static mut ArcBlock<Self::Data>) { ... }
}
Expand description
A singleton that manages pool::arc::Arc
smart pointers
Required Associated Types§
Provided Methods§
Object Safety§
This trait is not object safe.