Enum ntex::http::error::ContentTypeError [−][src]
pub enum ContentTypeError {
ParseError,
UnknownEncoding,
Unexpected,
Expected,
}
Expand description
A set of error that can occure during parsing content type
Variants
ParseError
Cannot parse content type
UnknownEncoding
Unknown content encoding
Unexpected
Unexpected Content-Type
Expected
Content-Type is expected
Trait Implementations
Performs the conversion.
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
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