diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-22 13:27:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-22 13:27:56 +0200 |
commit | 50627c206043edf5ce8755893944a6f17a54fb85 (patch) | |
tree | 7b644d5aa14f728b3a7ff0d585dffafcd55144cd /src/endpoint.rs | |
parent | f9db9a4b696569bbc56c40b9170320307ebcdd81 (diff) | |
download | netapp-50627c206043edf5ce8755893944a6f17a54fb85.tar.gz netapp-50627c206043edf5ce8755893944a6f17a54fb85.zip |
Add comment
Diffstat (limited to 'src/endpoint.rs')
-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 |