diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/endpoint.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<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 |