pub enum SignalMessage {
SessionJoin(SessionId, IsHost),
SessionReady(SessionId, UserId),
SdpOffer(SessionId, UserId, String),
SdpAnswer(SessionId, UserId, String),
IceCandidate(SessionId, UserId, String),
Error(SessionId, String),
}Expand description
Variants§
SessionJoin(SessionId, IsHost)
Either client or server connecting to signaling session
SessionReady(SessionId, UserId)
Report back to the users that both of them are in session
SdpOffer(SessionId, UserId, String)
SDP Offer that gets passed to the other user without modifications
SdpAnswer(SessionId, UserId, String)
SDP Answer that gets passed to the other user without modifications
IceCandidate(SessionId, UserId, String)
Proposed ICE Candidate of one user passed to the other user without modifications
Error(SessionId, String)
Generic error containing detailed information about the cause
Trait Implementations§
Source§impl Debug for SignalMessage
impl Debug for SignalMessage
Source§impl<'de> Deserialize<'de> for SignalMessage
impl<'de> Deserialize<'de> for SignalMessage
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
Auto Trait Implementations§
impl Freeze for SignalMessage
impl RefUnwindSafe for SignalMessage
impl Send for SignalMessage
impl Sync for SignalMessage
impl Unpin for SignalMessage
impl UnwindSafe for SignalMessage
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