[][src]Enum multipart::server::iron::LimitBehavior

#[repr(u32)]
pub enum LimitBehavior { ThrowError, Continue, }

The behavior of Intercept when a file size or count limit is exceeded.

Variants

Return an error from the middleware describing the issue.

Ignore the limit.

In the case of file size limits, the offending file will be truncated in the result.

In the case of file count limits, the request will be completed.

Trait Implementations

impl Clone for LimitBehavior
[src]

Performs copy-assignment from source. Read more

impl Copy for LimitBehavior
[src]

impl Debug for LimitBehavior
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[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> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any