pub trait CoppResponder: Send {
// Required method
fn accept(
self,
accept_data: Option<UserData>,
) -> impl Future<Output = Result<impl CoppConnection, CoppError>> + Send;
}Required Methods§
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.