Enum poem::error::ReadBodyError [−][src]
pub enum ReadBodyError {
BodyHasBeenTaken,
Utf8(FromUtf8Error),
Io(Error),
}
Expand description
A possible error value when reading the body.
Variants
BodyHasBeenTaken
Body has been taken by other extractors.
Utf8(FromUtf8Error)
Tuple Fields
Body is not a valid utf8 string.
Io(Error)
Tuple Fields
0: Error
Io error.
Trait Implementations
Performs the conversion.
The status code of this error.
Auto Trait Implementations
impl !RefUnwindSafe for ReadBodyError
impl Send for ReadBodyError
impl Sync for ReadBodyError
impl Unpin for ReadBodyError
impl !UnwindSafe for ReadBodyError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more