Enum poem::error::SizedLimitError [−][src]
pub enum SizedLimitError {
MissingContentLength,
PayloadTooLarge,
}
Expand description
A possible error value occurred in the SizeLimit
middleware.
Variants
MissingContentLength
Missing Content-Length
header
PayloadTooLarge
Payload too large
Trait Implementations
The status code of this error.
Auto Trait Implementations
impl RefUnwindSafe for SizedLimitError
impl Send for SizedLimitError
impl Sync for SizedLimitError
impl Unpin for SizedLimitError
impl UnwindSafe for SizedLimitError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more