Struct sctp_rs::ConnStatus

source ·
#[repr(C)]
pub struct ConnStatus { pub assoc_id: AssociationId, pub state: ConnState, pub rwnd: u32, pub unacked_data: u16, pub pending_data: u16, pub instreams: u16, pub outstreams: u16, pub fragmentation_pt: u32, pub peer_primary: PeerAddress, }
Expand description

ConnStatus: Status of an SCTP Connection

Fields§

§assoc_id: AssociationId§state: ConnState§rwnd: u32§unacked_data: u16§pending_data: u16§instreams: u16§outstreams: u16§fragmentation_pt: u32§peer_primary: PeerAddress

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.