Skip to main content

CoppListener

Trait CoppListener 

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

Required Methods§

Source

fn responder( self, ) -> impl Future<Output = Result<(impl CoppResponder, Option<UserData>), 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§