Trait Socks5UdpAssociatorSeal
pub trait Socks5UdpAssociatorSeal<S, State>:
Send
+ Sync
+ 'static {
// Required method
fn accept_udp_associate(
&self,
ctx: Context<State>,
stream: S,
destination: Authority,
) -> impl Future<Output = Result<(), Error>> + Send
where S: Stream + Unpin,
State: Clone + Send + Sync + 'static;
}
Required Methods§
fn accept_udp_associate( &self, ctx: Context<State>, stream: S, destination: Authority, ) -> 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.