pub trait AcceptorProxyInterface: Send + Sync {
type AcceptResponseFut: Future<Output = Result<Option<Box<ConnectionTransport>>, Error>> + Send;
// Required method
fn accept(&self, addr: &Addr) -> Self::AcceptResponseFut;
}Required Associated Types§
type AcceptResponseFut: Future<Output = Result<Option<Box<ConnectionTransport>>, Error>> + Send
Required Methods§
fn accept(&self, addr: &Addr) -> Self::AcceptResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".