Enum actix_web::error::ContentTypeError [−][src]
pub enum ContentTypeError {
ParseError,
UnknownEncoding,
}
Expand description
A set of error that can occur during parsing content type
Variants
ParseError
Can not parse content type
UnknownEncoding
Unknown content encoding
Trait Implementations
Performs the conversion.
Return BadRequest
for ContentTypeError
Auto Trait Implementations
impl RefUnwindSafe for ContentTypeError
impl Send for ContentTypeError
impl Sync for ContentTypeError
impl Unpin for ContentTypeError
impl UnwindSafe for ContentTypeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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