pub struct InMemoryTransportStats {
pub packets_sent: usize,
pub packets_received: usize,
pub bytes_sent: usize,
pub bytes_received: usize,
pub packets_rejected_full: usize,
pub packets_rejected_bytes: usize,
}Expand description
Statistics for the bounded in-memory client transport.
Fields§
§packets_sent: usizePackets accepted for delivery.
packets_received: usizePackets received by local endpoints.
bytes_sent: usizeBytes accepted for delivery.
bytes_received: usizeBytes received by local endpoints.
packets_rejected_full: usizePackets rejected because the target queue was full.
packets_rejected_bytes: usizePackets rejected because they exceeded the packet byte budget.
Trait Implementations§
Source§impl Clone for InMemoryTransportStats
impl Clone for InMemoryTransportStats
Source§fn clone(&self) -> InMemoryTransportStats
fn clone(&self) -> InMemoryTransportStats
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 moreimpl Copy for InMemoryTransportStats
Source§impl Debug for InMemoryTransportStats
impl Debug for InMemoryTransportStats
Source§impl Default for InMemoryTransportStats
impl Default for InMemoryTransportStats
Source§fn default() -> InMemoryTransportStats
fn default() -> InMemoryTransportStats
Returns the “default value” for a type. Read more
impl Eq for InMemoryTransportStats
Source§impl PartialEq for InMemoryTransportStats
impl PartialEq for InMemoryTransportStats
impl StructuralPartialEq for InMemoryTransportStats
Auto Trait Implementations§
impl Freeze for InMemoryTransportStats
impl RefUnwindSafe for InMemoryTransportStats
impl Send for InMemoryTransportStats
impl Sync for InMemoryTransportStats
impl Unpin for InMemoryTransportStats
impl UnsafeUnpin for InMemoryTransportStats
impl UnwindSafe for InMemoryTransportStats
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