Trait Socks5Connector

pub trait Socks5Connector<S>: Socks5ConnectorSeal<S> { }
Expand description

Types which can be used as socks5 Command::Connect drivers on the server side.

Typically used as a component part of a Socks5Acceptor.

The actual underlying trait is sealed and not exposed for usage. No custom connectors can be implemented. You can however customise both the connection and actual stream proxy phase by using your own matching Service implementations as part of the usage of Connector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<S, C> Socks5Connector<S> for C
where C: Socks5ConnectorSeal<S>,