Skip to main content

CoppResponder

Trait CoppResponder 

Source
pub trait CoppResponder: Send {
    // Required method
    fn accept(
        self,
        accept_data: Option<UserData>,
    ) -> impl Future<Output = Result<impl CoppConnection, CoppError>> + Send;
}

Required Methods§

Source

fn accept( self, accept_data: Option<UserData>, ) -> impl Future<Output = Result<impl CoppConnection, CoppError>> + 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.

Implementors§