pub struct SpanPoolConfig {
pub capacity: usize,
pub enabled: bool,
}Expand description
Configuration for the span pool
Fields§
§capacity: usizeInitial capacity of the pool
enabled: boolWhether pooling is enabled
Implementations§
Trait Implementations§
Source§impl Clone for SpanPoolConfig
impl Clone for SpanPoolConfig
Source§fn clone(&self) -> SpanPoolConfig
fn clone(&self) -> SpanPoolConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanPoolConfig
impl Debug for SpanPoolConfig
Auto Trait Implementations§
impl Freeze for SpanPoolConfig
impl RefUnwindSafe for SpanPoolConfig
impl Send for SpanPoolConfig
impl Sync for SpanPoolConfig
impl Unpin for SpanPoolConfig
impl UnsafeUnpin for SpanPoolConfig
impl UnwindSafe for SpanPoolConfig
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