[][src]Struct multipart::server::save::PartialEntries

pub struct PartialEntries<M: ReadEntry> {
    pub entries: Entries,
    pub partial: Option<PartialSavedField<M>>,
}

The partial result type for Multipart::save*().

Contains the successfully saved entries as well as the partially saved file that was in the process of being read when the error occurred, if applicable.

Fields

The entries that were saved successfully.

The field that was in the process of being read. None if the error occurred between entries.

Methods

impl<M: ReadEntry> PartialEntries<M>
[src]

If partial is present and contains a SavedFile then just add it to the Entries instance and return it.

Otherwise, returns self.entries

Trait Implementations

impl<M: ReadEntry> Into<Entries> for PartialEntries<M>
[src]

Discards partial

impl<M: Debug + ReadEntry> Debug for PartialEntries<M>
[src]

Auto Trait Implementations

impl<M> Send for PartialEntries<M> where
    M: Send

impl<M> Sync for PartialEntries<M> where
    M: Sync

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Typeable for T where
    T: Any

Get the TypeId of this object.

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> UnsafeAny for T where
    T: Any