pub struct ClientTransportStats {Show 13 fields
pub commands_sent: usize,
pub command_bytes_sent: usize,
pub packets_received: usize,
pub bytes_received: usize,
pub command_acks_received: usize,
pub replication_frames_received: usize,
pub barrier_frames_received: usize,
pub frames_rejected_decode: usize,
pub frames_rejected_unexpected: usize,
pub frames_rejected_source: usize,
pub frames_rejected_target: usize,
pub entities_received: usize,
pub components_received: usize,
}Expand description
Low-level client transport bridge statistics.
Fields§
§commands_sent: usizeCommand frames encoded and submitted to transport.
command_bytes_sent: usizeCommand bytes submitted to transport.
packets_received: usizePackets consumed from transport.
bytes_received: usizeBytes consumed from transport.
command_acks_received: usizeCommand ACK frames decoded and accepted.
replication_frames_received: usizeReplication frames decoded and accepted.
barrier_frames_received: usizeBarrier frames decoded and accepted.
frames_rejected_decode: usizePackets rejected by wire decoding.
frames_rejected_unexpected: usizePackets rejected because they were not client-bound frames.
frames_rejected_source: usizePackets rejected because the transport source did not match.
frames_rejected_target: usizePackets rejected because the frame target did not match this client.
entities_received: usizeEntity deltas received in replication frames.
components_received: usizeComponent deltas received in replication frames.
Trait Implementations§
Source§impl Clone for ClientTransportStats
impl Clone for ClientTransportStats
Source§fn clone(&self) -> ClientTransportStats
fn clone(&self) -> ClientTransportStats
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 ClientTransportStats
Source§impl Debug for ClientTransportStats
impl Debug for ClientTransportStats
Source§impl Default for ClientTransportStats
impl Default for ClientTransportStats
Source§fn default() -> ClientTransportStats
fn default() -> ClientTransportStats
Returns the “default value” for a type. Read more
impl Eq for ClientTransportStats
Source§impl PartialEq for ClientTransportStats
impl PartialEq for ClientTransportStats
impl StructuralPartialEq for ClientTransportStats
Auto Trait Implementations§
impl Freeze for ClientTransportStats
impl RefUnwindSafe for ClientTransportStats
impl Send for ClientTransportStats
impl Sync for ClientTransportStats
impl Unpin for ClientTransportStats
impl UnsafeUnpin for ClientTransportStats
impl UnwindSafe for ClientTransportStats
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