Skip to main content

CallbackProxyInterface

Trait CallbackProxyInterface 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§