pub enum HandshakeOutput {
InitSDPOffer,
RequestSDPAnswer(SignalingPayload),
AcceptSDPAnswer(SignalingPayload),
Connected,
Close,
}Expand description
Commands emitted by the handshake FSM for the driver to execute.
Variants§
InitSDPOffer
Initiate creating, applying and sending offer to other peer (to joiner)
RequestSDPAnswer(SignalingPayload)
Initiate creating, applying and sending answer to other peer (to host)
AcceptSDPAnswer(SignalingPayload)
Apply received answer from other peer (from joiner)
Connected
Register connect with other peer
Close
Close connection
Trait Implementations§
Source§impl Clone for HandshakeOutput
impl Clone for HandshakeOutput
Source§fn clone(&self) -> HandshakeOutput
fn clone(&self) -> HandshakeOutput
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 HandshakeOutput
impl Debug for HandshakeOutput
Source§impl<'de> Deserialize<'de> for HandshakeOutput
impl<'de> Deserialize<'de> for HandshakeOutput
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 HandshakeOutput
impl PartialEq for HandshakeOutput
Source§impl Serialize for HandshakeOutput
impl Serialize for HandshakeOutput
impl Eq for HandshakeOutput
impl StructuralPartialEq for HandshakeOutput
Auto Trait Implementations§
impl Freeze for HandshakeOutput
impl RefUnwindSafe for HandshakeOutput
impl Send for HandshakeOutput
impl Sync for HandshakeOutput
impl Unpin for HandshakeOutput
impl UnsafeUnpin for HandshakeOutput
impl UnwindSafe for HandshakeOutput
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