Enum multipart::server::SaveResult [] [src]

pub enum SaveResult {
    Full(Entries),
    Partial(EntriesError),
    Error(Error),
}

The result of Multipart::save_all().

Variants

The operation was a total success. Contained are all entries of the request.

The operation errored partway through. Contained are the entries gathered thus far, as well as the error that ended the process.

The TempDir for Entries could not be constructed. Contained is the error detailing the problem.

Methods

impl SaveResult
[src]

Take the Entries from self, if applicable, and discarding the error, if any.

Decompose self to (Option<Entries>, Option<io::Error>)

Map self to an io::Result, discarding the error in the Partial case.

Trait Implementations

impl Debug for SaveResult
[src]

Formats the value using the given formatter.