Enum sosistab::Protocol [−][src]
pub enum Protocol { DirectTcp, ProxiedTcp(Connector), DirectUdp, }
Expand description
Underlying protocol for a sosistab session.
Variants
“Direct” TCP that does not go through a proxy.
“Proxied” TCP that instead calls a function that returns a TCP connection.
Tuple Fields of ProxiedTcp
0: Connector
“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
type Output = T
type Output = T
Should always be Self