From e46d27ae1f2dbf73f757e8eb85c8e92dc5518243 Mon Sep 17 00:00:00 2001 From: ibraheemdev Date: Fri, 25 Dec 2020 14:59:13 -0500 Subject: [PATCH] update handler docs --- src/handler.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/handler.rs b/src/handler.rs index fa3e3f40f..9f8284dd9 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -15,6 +15,9 @@ use crate::responder::Responder; use crate::service::{ServiceRequest, ServiceResponse}; /// Async handler converter factory +/// +/// If you got the error `the trait Handler<_, _, _> is not implemented`, then your function is not +/// a valid handler. See [Request Handlers](https://actix.rs/docs/handlers/) for more information. pub trait Handler: Clone + 'static where R: Future,