pub trait PoolObjectTrait: Send + Sync + 'static {
type InitData: Clone + Sync + Send;
fn allocate_new(init_data: &Self::InitData) -> Self;
fn reset(&mut self);
}
pub trait PoolObjectTrait: Send + Sync + 'static {
type InitData: Clone + Sync + Send;
fn allocate_new(init_data: &Self::InitData) -> Self;
fn reset(&mut self);
}