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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.