pub enum HandshakeMessage {
SessionInit(SessionInit),
SessionAck(SessionAck),
SessionReady(SessionReady),
SessionComplete(SessionComplete),
SessionEstablished(SessionEstablished),
Keepalive(Keepalive),
Control(ControlEnvelope),
Ack(Acknowledge),
}Expand description
Minimal message envelope for the handshake pipeline.
Variants§
SessionInit(SessionInit)
SessionAck(SessionAck)
SessionReady(SessionReady)
SessionComplete(SessionComplete)
SessionEstablished(SessionEstablished)
Keepalive(Keepalive)
Control(ControlEnvelope)
Ack(Acknowledge)
Trait Implementations§
Source§impl Clone for HandshakeMessage
impl Clone for HandshakeMessage
Source§fn clone(&self) -> HandshakeMessage
fn clone(&self) -> HandshakeMessage
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 HandshakeMessage
impl Debug for HandshakeMessage
Source§impl<'de> Deserialize<'de> for HandshakeMessage
impl<'de> Deserialize<'de> for HandshakeMessage
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 HandshakeMessage
impl PartialEq for HandshakeMessage
Source§impl Serialize for HandshakeMessage
impl Serialize for HandshakeMessage
impl StructuralPartialEq for HandshakeMessage
Auto Trait Implementations§
impl Freeze for HandshakeMessage
impl RefUnwindSafe for HandshakeMessage
impl Send for HandshakeMessage
impl Sync for HandshakeMessage
impl Unpin for HandshakeMessage
impl UnwindSafe for HandshakeMessage
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