From 50627c206043edf5ce8755893944a6f17a54fb85 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 22 Jul 2022 13:27:56 +0200 Subject: Add comment --- src/endpoint.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3