pub enum DataChannelMessage {
Text(String),
Binary(Vec<u8>),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
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