Trait netidx_core::pool::Poolable
source · pub trait Poolable {
// Required methods
fn empty() -> Self;
fn reset(&mut self);
fn capacity(&self) -> usize;
// Provided method
fn really_dropped(&self) -> bool { ... }
}
Required Methods§
Provided Methods§
sourcefn really_dropped(&self) -> bool
fn really_dropped(&self) -> bool
in case you are pooling something ref counted e.g. arc
Object Safety§
This trait is not object safe.