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 moreSource§impl Debug for ReceivedData
impl Debug for ReceivedData
Source§impl PartialEq for ReceivedData
impl PartialEq for ReceivedData
impl Eq for ReceivedData
impl StructuralPartialEq for ReceivedData
Auto Trait Implementations§
impl Freeze for ReceivedData
impl RefUnwindSafe for ReceivedData
impl Send for ReceivedData
impl Sync for ReceivedData
impl Unpin for ReceivedData
impl UnwindSafe for ReceivedData
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