pub struct ArenaPool { /* private fields */ }Expand description
Arena pool for reusing arenas
Implementations§
Source§impl ArenaPool
impl ArenaPool
Sourcepub fn with_defaults() -> Self
pub fn with_defaults() -> Self
Create with default settings
Sourcepub fn stats(&self) -> Arc<ArenaStats>
pub fn stats(&self) -> Arc<ArenaStats>
Get pool statistics
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ArenaPool
impl !RefUnwindSafe for ArenaPool
impl Send for ArenaPool
impl Sync for ArenaPool
impl Unpin for ArenaPool
impl UnsafeUnpin for ArenaPool
impl UnwindSafe for ArenaPool
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