pub struct Stats {
pub received: usize,
pub sent: Vec<usize>,
pub max_packed: Vec<usize>,
pub timed_out: bool,
}Expand description
What a driver run shipped, for anchoring assertions.
Fields§
§received: usizePayloads pulled from the channel, whether or not any send succeeded.
sent: Vec<usize>Lines delivered per socket, summed across payloads, indexed as the sockets
were passed to run.
max_packed: Vec<usize>Largest packed run that reached each socket, indexed likewise. Zero when no multi-value line reached that socket.
timed_out: boolWhether a send exhausted the retry budget under sustained backpressure. Distinguishes a wedged or paused peer from a clean partial batch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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