pub struct Stats {
pub received: usize,
pub sent: Vec<usize>,
pub max_packed: Vec<usize>,
}Expand description
What a driver run shipped, for anchoring assertions.
Fields§
§received: usizeLines pulled from the channel, whether or not any send succeeded.
sent: Vec<usize>Successful sends per socket, 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.
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 UnsafeUnpin 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