pub struct ReceivedStatsSample {
pub count: Option<u32>,
pub window: Option<u64>,
}Expand description
Server-reported receive counters decoded from an echo reply.
These fields are optional because the negotiated received-statistics mode or
server implementation may omit them. None means unavailable; Some(0)
means the server reported the value and it was zero.
Fields§
§count: Option<u32>Server-reported count of received packets, when available.
window: Option<u64>Raw server-reported receive window bitmap, when available.
The bitmap is preserved exactly as it appeared on the wire; the client does not interpret its bits.
Trait Implementations§
Source§impl Clone for ReceivedStatsSample
impl Clone for ReceivedStatsSample
impl Copy for ReceivedStatsSample
Source§impl Debug for ReceivedStatsSample
impl Debug for ReceivedStatsSample
impl Eq for ReceivedStatsSample
Source§impl PartialEq for ReceivedStatsSample
impl PartialEq for ReceivedStatsSample
impl StructuralPartialEq for ReceivedStatsSample
Auto Trait Implementations§
impl Freeze for ReceivedStatsSample
impl RefUnwindSafe for ReceivedStatsSample
impl Send for ReceivedStatsSample
impl Sync for ReceivedStatsSample
impl Unpin for ReceivedStatsSample
impl UnsafeUnpin for ReceivedStatsSample
impl UnwindSafe for ReceivedStatsSample
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