pub struct InMemoryStationTransportStats {
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 station transport.
Fields§
§packets_sent: usizePackets accepted for delivery.
packets_received: usizePackets received by target stations.
bytes_sent: usizeBytes accepted for delivery.
bytes_received: usizeBytes received by target stations.
packets_rejected_full: usizePackets rejected because the target station queue was full.
packets_rejected_bytes: usizePackets rejected because they exceeded the packet byte budget.
Trait Implementations§
Source§impl Clone for InMemoryStationTransportStats
impl Clone for InMemoryStationTransportStats
Source§fn clone(&self) -> InMemoryStationTransportStats
fn clone(&self) -> InMemoryStationTransportStats
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 InMemoryStationTransportStats
Source§impl Default for InMemoryStationTransportStats
impl Default for InMemoryStationTransportStats
Source§fn default() -> InMemoryStationTransportStats
fn default() -> InMemoryStationTransportStats
Returns the “default value” for a type. Read more
impl Eq for InMemoryStationTransportStats
impl StructuralPartialEq for InMemoryStationTransportStats
Auto Trait Implementations§
impl Freeze for InMemoryStationTransportStats
impl RefUnwindSafe for InMemoryStationTransportStats
impl Send for InMemoryStationTransportStats
impl Sync for InMemoryStationTransportStats
impl Unpin for InMemoryStationTransportStats
impl UnsafeUnpin for InMemoryStationTransportStats
impl UnwindSafe for InMemoryStationTransportStats
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