pub struct GatewayClientTransportStats {
pub packets_received: usize,
pub bytes_received: usize,
pub command_frames_received: usize,
pub source_mismatches: usize,
pub commands_accepted: usize,
pub commands_rejected: usize,
pub acks_sent: usize,
pub ack_bytes_sent: usize,
}Expand description
Gateway-side client command transport bridge statistics.
Fields§
§packets_received: usizeClient packets consumed from transport.
bytes_received: usizeClient packet bytes consumed from transport.
command_frames_received: usizeCommand frames decoded from client packets.
source_mismatches: usizePackets rejected because transport source and command client differed.
commands_accepted: usizeCommands accepted by the gateway command pipeline.
commands_rejected: usizeCommands rejected by the gateway command pipeline.
acks_sent: usizeCommand ACK frames submitted to client transport.
ack_bytes_sent: usizeCommand ACK bytes submitted to client transport.
Trait Implementations§
Source§impl Clone for GatewayClientTransportStats
impl Clone for GatewayClientTransportStats
Source§fn clone(&self) -> GatewayClientTransportStats
fn clone(&self) -> GatewayClientTransportStats
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 GatewayClientTransportStats
Source§impl Debug for GatewayClientTransportStats
impl Debug for GatewayClientTransportStats
Source§impl Default for GatewayClientTransportStats
impl Default for GatewayClientTransportStats
Source§fn default() -> GatewayClientTransportStats
fn default() -> GatewayClientTransportStats
Returns the “default value” for a type. Read more
impl Eq for GatewayClientTransportStats
impl StructuralPartialEq for GatewayClientTransportStats
Auto Trait Implementations§
impl Freeze for GatewayClientTransportStats
impl RefUnwindSafe for GatewayClientTransportStats
impl Send for GatewayClientTransportStats
impl Sync for GatewayClientTransportStats
impl Unpin for GatewayClientTransportStats
impl UnsafeUnpin for GatewayClientTransportStats
impl UnwindSafe for GatewayClientTransportStats
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