Enum mime_multipart::error::Error [] [src]

pub enum Error {
    NoRequestContentType,
    NotMultipart,
    BoundaryNotSpecified,
    PartialHeaders,
    EofInMainHeaders,
    EofBeforeFirstBoundary,
    NoCrLfAfterBoundary,
    EofInPartHeaders,
    EofInFile,
    EofInPart,
    Httparse(Error),
    Io(Error),
    Hyper(Error),
    Utf8(FromUtf8Error),
    Decoding(Cow<'static, str>),
}

An error type for the mime-multipart crate.

Variants

The Hyper request did not have a Content-Type header.

The Hyper request Content-Type top-level Mime was not Multipart.

The Content-Type header failed to specify boundary token.

A multipart section contained only partial headers.

An HTTP parsing error from a multipart section.

An I/O error.

An error was returned from Hyper.

An error occurred during UTF-8 processing.

An error occurred during character decoding

Trait Implementations

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more