pub enum SignalingMessage {
Offer {
sdp: String,
},
Answer {
sdp: String,
},
IceCandidate {
candidate: String,
sdp_mid: Option<String>,
sdp_mline_index: Option<u16>,
},
Hangup {
reason: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for SignalingMessage
impl Clone for SignalingMessage
Source§fn clone(&self) -> SignalingMessage
fn clone(&self) -> SignalingMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignalingMessage
impl Debug for SignalingMessage
Source§impl<'de> Deserialize<'de> for SignalingMessage
impl<'de> Deserialize<'de> for SignalingMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignalingMessage
Source§impl PartialEq for SignalingMessage
impl PartialEq for SignalingMessage
Source§fn eq(&self, other: &SignalingMessage) -> bool
fn eq(&self, other: &SignalingMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignalingMessage
impl Serialize for SignalingMessage
impl StructuralPartialEq for SignalingMessage
Auto Trait Implementations§
impl Freeze for SignalingMessage
impl RefUnwindSafe for SignalingMessage
impl Send for SignalingMessage
impl Sync for SignalingMessage
impl Unpin for SignalingMessage
impl UnsafeUnpin for SignalingMessage
impl UnwindSafe for SignalingMessage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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