pub struct GatewayClientTransportSummary {
pub packets_received: usize,
pub bytes_received: usize,
pub commands_accepted: usize,
pub commands_rejected: usize,
pub acks_sent: usize,
pub ack_bytes_sent: usize,
}Expand description
Compact result of pumping gateway commands without retaining per-command reports.
Fields§
§packets_received: usizeClient packets consumed from transport.
bytes_received: usizeClient packet bytes consumed from transport.
commands_accepted: usizeCommands accepted by the gateway pipeline.
commands_rejected: usizeCommands rejected by the gateway 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 GatewayClientTransportSummary
impl Clone for GatewayClientTransportSummary
Source§fn clone(&self) -> GatewayClientTransportSummary
fn clone(&self) -> GatewayClientTransportSummary
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 GatewayClientTransportSummary
Source§impl Default for GatewayClientTransportSummary
impl Default for GatewayClientTransportSummary
Source§fn default() -> GatewayClientTransportSummary
fn default() -> GatewayClientTransportSummary
Returns the “default value” for a type. Read more
impl Eq for GatewayClientTransportSummary
impl StructuralPartialEq for GatewayClientTransportSummary
Auto Trait Implementations§
impl Freeze for GatewayClientTransportSummary
impl RefUnwindSafe for GatewayClientTransportSummary
impl Send for GatewayClientTransportSummary
impl Sync for GatewayClientTransportSummary
impl Unpin for GatewayClientTransportSummary
impl UnsafeUnpin for GatewayClientTransportSummary
impl UnwindSafe for GatewayClientTransportSummary
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