Skip to main content

CospResponder

Trait CospResponder 

Source
pub trait CospResponder: Send {
    // Required method
    fn accept(
        self,
        accept_data: Option<Vec<u8>>,
    ) -> impl Future<Output = Result<impl CospConnection, CospError>> + Send;
}

Required Methods§

Source

fn accept( self, accept_data: Option<Vec<u8>>, ) -> impl Future<Output = Result<impl CospConnection, CospError>> + 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§