diff --git a/src/endpoint.rs b/src/endpoint.rs index 7088879..31500aa 100644 --- a/src/endpoint.rs +++ b/src/endpoint.rs @@ -35,6 +35,9 @@ impl EndpointHandler 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: Send + Sync where