Struct sctp_rs::ReceivedData
source · pub struct ReceivedData {
pub payload: Vec<u8>,
pub rcv_info: Option<RcvInfo>,
pub nxt_info: Option<NxtInfo>,
}
Expand description
Structure Representing SCTP Received Data.
This structure is returned by the sctp_recv
API call. This contains in addition to ‘received’
data, any ancillary data that is received during the underlying system call.
Fields§
§payload: Vec<u8>
Received Message Payload.
rcv_info: Option<RcvInfo>
Optional ancillary information about the received payload.
nxt_info: Option<NxtInfo>
Optional ancillary information about the next call to sctp_recv
.
Trait Implementations§
source§impl Clone for ReceivedData
impl Clone for ReceivedData
source§fn clone(&self) -> ReceivedData
fn clone(&self) -> ReceivedData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more