pub struct DataChannelMessage {
pub association_handle: usize,
pub stream_id: u16,
pub ppi: PayloadProtocolIdentifier,
pub unordered: bool,
pub reliability_type: ReliabilityType,
pub payload: BytesMut,
}
Expand description
DataChannelMessage is used to data sent over SCTP
Fields§
§association_handle: usize
§stream_id: u16
§ppi: PayloadProtocolIdentifier
§unordered: bool
§reliability_type: ReliabilityType
§payload: BytesMut
Trait Implementations§
Source§impl Clone for DataChannelMessage
impl Clone for DataChannelMessage
Source§fn clone(&self) -> DataChannelMessage
fn clone(&self) -> DataChannelMessage
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 DataChannelMessage
impl Debug for DataChannelMessage
Source§impl Default for DataChannelMessage
impl Default for DataChannelMessage
Source§fn default() -> DataChannelMessage
fn default() -> DataChannelMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataChannelMessage
impl RefUnwindSafe for DataChannelMessage
impl Send for DataChannelMessage
impl Sync for DataChannelMessage
impl Unpin for DataChannelMessage
impl UnwindSafe for DataChannelMessage
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