pub enum OwnedWebRtcMessage {
String(Vec<u8>),
Binary(Vec<u8>),
EmptyString,
EmptyBinary,
}
Expand description
Similar to WebRtcMessage but represents messages that have ownership over the data
Variants§
Trait Implementations§
Source§impl Clone for OwnedWebRtcMessage
impl Clone for OwnedWebRtcMessage
Source§fn clone(&self) -> OwnedWebRtcMessage
fn clone(&self) -> OwnedWebRtcMessage
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 moreAuto Trait Implementations§
impl Freeze for OwnedWebRtcMessage
impl RefUnwindSafe for OwnedWebRtcMessage
impl Send for OwnedWebRtcMessage
impl Sync for OwnedWebRtcMessage
impl Unpin for OwnedWebRtcMessage
impl UnwindSafe for OwnedWebRtcMessage
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