pub trait CospResponder: Send {
// Required method
fn accept(
self,
accept_data: Option<Vec<u8>>,
) -> impl Future<Output = Result<impl CospConnection, CospError>> + Send;
}Required Methods§
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.