update handler docs

This commit is contained in:
ibraheemdev 2020-12-25 14:59:13 -05:00
parent 7fff15ad78
commit e46d27ae1f
1 changed files with 3 additions and 0 deletions

View File

@ -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<T, R, O>: Clone + 'static
where
R: Future<Output = O>,