pub struct BufferStats {
pub stack_buffer_len: usize,
pub stack_buffer_capacity: usize,
pub stack_buffer_spilled: bool,
pub pool_buffer_active: bool,
pub pool_buffer_len: usize,
}Expand description
Buffer usage statistics for monitoring performance
Fields§
§stack_buffer_len: usizeThe length of the stack buffer.
stack_buffer_capacity: usizeThe capacity of the stack buffer.
stack_buffer_spilled: boolWhether the stack buffer has spilled to the heap.
pool_buffer_active: boolWhether a pool buffer is active.
pool_buffer_len: usizeThe length of the pool buffer.
Trait Implementations§
Source§impl Clone for BufferStats
impl Clone for BufferStats
Source§fn clone(&self) -> BufferStats
fn clone(&self) -> BufferStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BufferStats
impl Debug for BufferStats
impl Copy for BufferStats
Auto Trait Implementations§
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnwindSafe for BufferStats
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