Enum actix_web::PayloadError
[−]
[src]
pub enum PayloadError { Incomplete, ParseError(IoError), }
A set of error that can occur during payload parsing.
Variants
Incomplete
A payload reached EOF, but is not complete.
ParseError(IoError)
Parse error
Trait Implementations
impl Debug for PayloadError
[src]
impl Display for PayloadError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for PayloadError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<IoError> for PayloadError
[src]
fn from(err: IoError) -> PayloadError
[src]
Performs the conversion.