Enum webrtc_data::message::Message
source · pub enum Message {
DataChannelAck(DataChannelAck),
DataChannelOpen(DataChannelOpen),
}
Expand description
A parsed DataChannel message
Variants§
DataChannelAck(DataChannelAck)
DataChannelOpen(DataChannelOpen)
Implementations§
source§impl Message
impl Message
pub fn message_type(&self) -> MessageType
Trait Implementations§
source§impl MarshalSize for Message
impl MarshalSize for Message
fn marshal_size(&self) -> usize
source§impl PartialEq for Message
impl PartialEq for Message
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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