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

#[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LimitBehavior
[src]

impl Debug for LimitBehavior
[src]

[src]

Formats the value using the given formatter.