Enum aws_smithy_http_server::rejection::ContentTypeRejection [−][src]
pub enum ContentTypeRejection {
MissingJsonContentType(MissingJsonContentType),
MimeParsingFailed(MimeParsingFailed),
}Expand description
Rejection used for Content-Type errors such as missing Content-Type header, MIME parse issues, etc.
Variants
MissingJsonContentType(MissingJsonContentType)Tuple Fields of MissingJsonContentType
MimeParsingFailed(MimeParsingFailed)Tuple Fields of MimeParsingFailed
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ContentTypeRejection
impl Send for ContentTypeRejection
impl Sync for ContentTypeRejection
impl Unpin for ContentTypeRejection
impl UnwindSafe for ContentTypeRejection
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