pub fn new(metrics_registry: &MetricsRegistry) -> Self {
        Self {
            slices: Default::default(),
            stream_positions: Default::default(),
            metrics: CertifiedSlicePoolMetrics::new(metrics_registry),
        }
    }
/// Creates a new pool instance using the given `MetricsRegistry` for
/// instrumentation.
Creates a new pool instance using the given `MetricsRegistry` for
instrumentation.
Creates a new pool instance using the given ` MetricsRegistry ` for instrumentation .
pub fn new(metrics_registry: &MetricsRegistry) -> Self {
        Self {
            slices: Default::default(),
            stream_positions: Default::default(),
            metrics: CertifiedSlicePoolMetrics::new(metrics_registry),
        }
    }
pub fn new ( metrics_registry : & MetricsRegistry ) -> Self { Self { slices : Default :: default ( ) , stream_positions : Default :: default ( ) , metrics : CertifiedSlicePoolMetrics :: new ( metrics_registry ) , } }
Creates a new pool instance using the given `MetricsRegistry` for
instrumentation.
Creates a new pool instance using the given ` MetricsRegistry ` for instrumentation .
metrics_registry
&MetricsRegistry
metrics_registry
&MetricsRegistry