pub trait WithSocket {
type Output;
// Required method
fn with_socket<S: Socket>(
self,
socket: S,
) -> impl Future<Output = Self::Output> + Send;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".