Trait Socks5BinderSeal
pub trait Socks5BinderSeal<S>:
Send
+ Sync
+ 'static {
// Required method
fn accept_bind(
&self,
stream: S,
destination: HostWithPort,
) -> impl Future<Output = Result<(), Error>> + Send;
}Available on (crate features
proxy or haproxy or socks5) and crate feature socks5 only.Required Methods§
fn accept_bind( &self, stream: S, destination: HostWithPort, ) -> impl Future<Output = Result<(), Error>> + Send
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.