pub struct BufferStats {
pub queued_bytes: usize,
pub bytes_in_use: usize,
pub queued_batches: usize,
pub max_buffered_bytes: usize,
}Expand description
Snapshot of the engine’s buffering envelope.
Fields§
§queued_bytes: usizeBytes still waiting in the mutable accumulation queue.
bytes_in_use: usizeBytes owned by queued plus sealed in-flight flush work.
queued_batches: usizeBatches still waiting in the mutable accumulation queue.
max_buffered_bytes: usizeConfigured upper bound for bytes_in_use.
Trait Implementations§
Source§impl Clone for BufferStats
impl Clone for BufferStats
Source§impl Debug for BufferStats
impl Debug for BufferStats
impl Eq for BufferStats
Source§impl PartialEq for BufferStats
impl PartialEq for BufferStats
impl StructuralPartialEq for BufferStats
Auto Trait Implementations§
impl Forget for BufferStats
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnsafeUnpin 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