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