Skip to main content

CotpResponder

Trait CotpResponder 

Source
pub trait CotpResponder: Send {
    // Required method
    fn accept(
        self,
        options: CotpAcceptInformation,
    ) -> impl Future<Output = Result<impl CotpConnection, CotpError>> + Send;
}

Required Methods§

Source

fn accept( self, options: CotpAcceptInformation, ) -> impl Future<Output = Result<impl CotpConnection, CotpError>> + 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§