#[non_exhaustive]pub struct AssociationStatus {
pub closed: bool,
pub peer_receive_window: u32,
pub congestion_window: u32,
pub slow_start_threshold: u32,
pub unacknowledged_data_chunks: usize,
pub pending_data_chunks: usize,
pub srtt: Duration,
pub rto: Duration,
pub path_mtu: u32,
}Expand description
What Association::status reports (RFC 9260 11.1.8).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.closed: boolThe association ended.
peer_receive_window: u32The peer’s receive window (“current receiver window size”), in bytes.
congestion_window: u32The congestion window, in bytes.
slow_start_threshold: u32The slow start threshold, in bytes.
unacknowledged_data_chunks: usizeDATA chunks sent and not cumulatively acknowledged (“number of unacknowledged DATA chunks”).
pending_data_chunks: usizeDATA chunks waiting to be sent for the first time.
srtt: DurationThe smoothed round-trip time; zero before the first measurement.
rto: DurationThe retransmission timeout.
path_mtu: u32The path MTU the association packs to.
Trait Implementations§
Source§impl Clone for AssociationStatus
impl Clone for AssociationStatus
Source§impl Debug for AssociationStatus
impl Debug for AssociationStatus
impl Eq for AssociationStatus
Source§impl PartialEq for AssociationStatus
impl PartialEq for AssociationStatus
impl StructuralPartialEq for AssociationStatus
Auto Trait Implementations§
impl Forget for AssociationStatus
impl Freeze for AssociationStatus
impl Move for AssociationStatus
impl RefUnwindSafe for AssociationStatus
impl Send for AssociationStatus
impl Sync for AssociationStatus
impl Unpin for AssociationStatus
impl UnsafeUnpin for AssociationStatus
impl UnwindSafe for AssociationStatus
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