Add comment
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Alex 2022-07-22 13:27:56 +02:00
parent f9db9a4b69
commit 50627c2060
Signed by: lx
GPG Key ID: 0E496D15096376BE
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ impl<M: Message + 'static> EndpointHandler<M> for () {
// ----
/// This trait should be implemented by an object of your application
/// that can handle a message of type `M`, in the cases where it doesn't
/// care about attached stream in the request nor in the response.
#[async_trait]
pub trait EndpointHandler<M>: Send + Sync
where