Enum tor_cell::relaycell::msg::AnyRelayMsg
source · #[non_exhaustive]pub enum AnyRelayMsg {
Show 28 variants
Begin(Begin),
Data(Data),
End(End),
Connected(Connected),
Sendme(Sendme),
Extend(Extend),
Extended(Extended),
Extend2(Extend2),
Extended2(Extended2),
Truncate(Truncate),
Truncated(Truncated),
Drop(Drop),
Resolve(Resolve),
Resolved(Resolved),
BeginDir(BeginDir),
ConnectUdp(ConnectUdp),
ConnectedUdp(ConnectedUdp),
Datagram(Datagram),
EstablishIntro(EstablishIntro),
EstablishRendezvous(EstablishRendezvous),
Introduce1(Introduce1),
Introduce2(Introduce2),
Rendezvous1(Rendezvous1),
Rendezvous2(Rendezvous2),
IntroEstablished(IntroEstablished),
RendezvousEstablished(RendezvousEstablished),
IntroduceAck(IntroduceAck),
Unrecognized(Unrecognized),
}
Expand description
A single parsed relay message, sent or received along a circuit
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Begin(Begin)
Create a stream
Data(Data)
Send data on a stream
End(End)
Close a stream
Connected(Connected)
Successful response to a Begin message
Sendme(Sendme)
For flow control
Extend(Extend)
Extend a circuit to a new hop (deprecated)
Extended(Extended)
Successful response to an Extend message (deprecated)
Extend2(Extend2)
Extend a circuit to a new hop
Extended2(Extended2)
Successful response to an Extend2 message
Truncate(Truncate)
Partially close a circuit
Truncated(Truncated)
Tell the client that a circuit has been partially closed
Drop(Drop)
Used for padding
Resolve(Resolve)
Launch a DNS request
Resolved(Resolved)
Response to a Resolve message
BeginDir(BeginDir)
Start a directory stream
ConnectUdp(ConnectUdp)
experimental-udp
only.Start a UDP stream.
ConnectedUdp(ConnectedUdp)
experimental-udp
only.Successful response to a ConnectUdp message
Datagram(Datagram)
experimental-udp
only.UDP stream data
EstablishIntro(EstablishIntro)
hs
only.Establish Introduction
EstablishRendezvous(EstablishRendezvous)
hs
only.Establish Rendezvous
Introduce1(Introduce1)
hs
only.Introduce1 (client to introduction point)
Introduce2(Introduce2)
hs
only.Introduce2 (introduction point to service)
Rendezvous1(Rendezvous1)
hs
only.Rendezvous1 (service to rendezvous point)
Rendezvous2(Rendezvous2)
hs
only.Rendezvous2 (rendezvous point to client)
IntroEstablished(IntroEstablished)
hs
only.Acknowledgement for EstablishIntro.
RendezvousEstablished(RendezvousEstablished)
hs
only.Acknowledgment for EstablishRendezvous.
IntroduceAck(IntroduceAck)
hs
only.Acknowledgement for Introduce1.
Unrecognized(Unrecognized)
An unrecognized command.
Trait Implementations§
source§impl Clone for AnyRelayMsg
impl Clone for AnyRelayMsg
source§fn clone(&self) -> AnyRelayMsg
fn clone(&self) -> AnyRelayMsg
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnyRelayMsg
impl Debug for AnyRelayMsg
source§impl From<Begin> for AnyRelayMsg
impl From<Begin> for AnyRelayMsg
source§fn from(m: Begin) -> AnyRelayMsg
fn from(m: Begin) -> AnyRelayMsg
source§impl From<BeginDir> for AnyRelayMsg
impl From<BeginDir> for AnyRelayMsg
source§fn from(m: BeginDir) -> AnyRelayMsg
fn from(m: BeginDir) -> AnyRelayMsg
source§impl From<ConnectUdp> for AnyRelayMsg
Available on crate feature experimental-udp
only.
impl From<ConnectUdp> for AnyRelayMsg
experimental-udp
only.source§fn from(m: ConnectUdp) -> AnyRelayMsg
fn from(m: ConnectUdp) -> AnyRelayMsg
source§impl From<Connected> for AnyRelayMsg
impl From<Connected> for AnyRelayMsg
source§fn from(m: Connected) -> AnyRelayMsg
fn from(m: Connected) -> AnyRelayMsg
source§impl From<ConnectedUdp> for AnyRelayMsg
Available on crate feature experimental-udp
only.
impl From<ConnectedUdp> for AnyRelayMsg
experimental-udp
only.source§fn from(m: ConnectedUdp) -> AnyRelayMsg
fn from(m: ConnectedUdp) -> AnyRelayMsg
source§impl From<Data> for AnyRelayMsg
impl From<Data> for AnyRelayMsg
source§fn from(m: Data) -> AnyRelayMsg
fn from(m: Data) -> AnyRelayMsg
source§impl From<Datagram> for AnyRelayMsg
Available on crate feature experimental-udp
only.
impl From<Datagram> for AnyRelayMsg
experimental-udp
only.source§fn from(m: Datagram) -> AnyRelayMsg
fn from(m: Datagram) -> AnyRelayMsg
source§impl From<Drop> for AnyRelayMsg
impl From<Drop> for AnyRelayMsg
source§fn from(m: Drop) -> AnyRelayMsg
fn from(m: Drop) -> AnyRelayMsg
source§impl From<End> for AnyRelayMsg
impl From<End> for AnyRelayMsg
source§fn from(m: End) -> AnyRelayMsg
fn from(m: End) -> AnyRelayMsg
source§impl From<EstablishIntro> for AnyRelayMsg
Available on crate feature hs
only.
impl From<EstablishIntro> for AnyRelayMsg
hs
only.source§fn from(m: EstablishIntro) -> AnyRelayMsg
fn from(m: EstablishIntro) -> AnyRelayMsg
source§impl From<EstablishRendezvous> for AnyRelayMsg
Available on crate feature hs
only.
impl From<EstablishRendezvous> for AnyRelayMsg
hs
only.source§fn from(m: EstablishRendezvous) -> AnyRelayMsg
fn from(m: EstablishRendezvous) -> AnyRelayMsg
source§impl From<Extend> for AnyRelayMsg
impl From<Extend> for AnyRelayMsg
source§fn from(m: Extend) -> AnyRelayMsg
fn from(m: Extend) -> AnyRelayMsg
source§impl From<Extend2> for AnyRelayMsg
impl From<Extend2> for AnyRelayMsg
source§fn from(m: Extend2) -> AnyRelayMsg
fn from(m: Extend2) -> AnyRelayMsg
source§impl From<Extended> for AnyRelayMsg
impl From<Extended> for AnyRelayMsg
source§fn from(m: Extended) -> AnyRelayMsg
fn from(m: Extended) -> AnyRelayMsg
source§impl From<Extended2> for AnyRelayMsg
impl From<Extended2> for AnyRelayMsg
source§fn from(m: Extended2) -> AnyRelayMsg
fn from(m: Extended2) -> AnyRelayMsg
source§impl From<IntroEstablished> for AnyRelayMsg
Available on crate feature hs
only.
impl From<IntroEstablished> for AnyRelayMsg
hs
only.source§fn from(m: IntroEstablished) -> AnyRelayMsg
fn from(m: IntroEstablished) -> AnyRelayMsg
source§impl From<Introduce1> for AnyRelayMsg
Available on crate feature hs
only.
impl From<Introduce1> for AnyRelayMsg
hs
only.source§fn from(m: Introduce1) -> AnyRelayMsg
fn from(m: Introduce1) -> AnyRelayMsg
source§impl From<Introduce2> for AnyRelayMsg
Available on crate feature hs
only.
impl From<Introduce2> for AnyRelayMsg
hs
only.source§fn from(m: Introduce2) -> AnyRelayMsg
fn from(m: Introduce2) -> AnyRelayMsg
source§impl From<IntroduceAck> for AnyRelayMsg
Available on crate feature hs
only.
impl From<IntroduceAck> for AnyRelayMsg
hs
only.source§fn from(m: IntroduceAck) -> AnyRelayMsg
fn from(m: IntroduceAck) -> AnyRelayMsg
source§impl From<Rendezvous1> for AnyRelayMsg
Available on crate feature hs
only.
impl From<Rendezvous1> for AnyRelayMsg
hs
only.source§fn from(m: Rendezvous1) -> AnyRelayMsg
fn from(m: Rendezvous1) -> AnyRelayMsg
source§impl From<Rendezvous2> for AnyRelayMsg
Available on crate feature hs
only.
impl From<Rendezvous2> for AnyRelayMsg
hs
only.source§fn from(m: Rendezvous2) -> AnyRelayMsg
fn from(m: Rendezvous2) -> AnyRelayMsg
source§impl From<RendezvousEstablished> for AnyRelayMsg
Available on crate feature hs
only.
impl From<RendezvousEstablished> for AnyRelayMsg
hs
only.