Enum sosistab::Protocol [−][src]
pub enum Protocol {
DirectTcp,
ProxiedTcp(Connector),
DirectUdp,
}
Expand description
Underlying protocol for a sosistab session.
Variants
DirectTcp
“Direct” TCP that does not go through a proxy.
ProxiedTcp(Connector)
Tuple Fields
0: Connector
“Proxied” TCP that instead calls a function that returns a TCP connection.
DirectUdp
“Direct UDP that does not go through a proxy.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Protocol
impl !UnwindSafe for Protocol
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more