mirror of https://github.com/fafhrd91/actix-web
Update src/extract.rs
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
parent
2235c07ea3
commit
8925cd640b
|
@ -50,7 +50,7 @@ use crate::{dev::Payload, Error, HttpRequest};
|
||||||
/// [`PayloadConfig`]: crate::web::PayloadConfig
|
/// [`PayloadConfig`]: crate::web::PayloadConfig
|
||||||
/// [`String`]: FromRequest#impl-FromRequest-for-String
|
/// [`String`]: FromRequest#impl-FromRequest-for-String
|
||||||
/// [`Bytes`]: crate::web::Bytes#impl-FromRequest
|
/// [`Bytes`]: crate::web::Bytes#impl-FromRequest
|
||||||
#[doc(alias = "Extractor")]
|
#[cfg_attr(docsrs, doc(alias = "Extractor"))]
|
||||||
pub trait FromRequest: Sized {
|
pub trait FromRequest: Sized {
|
||||||
/// The associated error which can be returned.
|
/// The associated error which can be returned.
|
||||||
type Error: Into<Error>;
|
type Error: Into<Error>;
|
||||||
|
|
Loading…
Reference in New Issue