pub enum MeshSignal {
Join {
room: String,
from: String,
},
Offer {
room: String,
from: String,
to: String,
sdp: String,
},
Answer {
room: String,
from: String,
to: String,
sdp: String,
},
Ice {
room: String,
from: String,
to: String,
candidate: String,
sdp_mid: Option<String>,
sdp_mline_index: Option<u16>,
},
Leave {
room: String,
from: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for MeshSignal
impl Clone for MeshSignal
Source§fn clone(&self) -> MeshSignal
fn clone(&self) -> MeshSignal
Returns a duplicate 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 MeshSignal
impl Debug for MeshSignal
Source§impl<'de> Deserialize<'de> for MeshSignal
impl<'de> Deserialize<'de> for MeshSignal
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
Source§impl PartialEq for MeshSignal
impl PartialEq for MeshSignal
Source§impl Serialize for MeshSignal
impl Serialize for MeshSignal
impl Eq for MeshSignal
impl StructuralPartialEq for MeshSignal
Auto Trait Implementations§
impl Freeze for MeshSignal
impl RefUnwindSafe for MeshSignal
impl Send for MeshSignal
impl Sync for MeshSignal
impl Unpin for MeshSignal
impl UnwindSafe for MeshSignal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more