Enum actix_web::error::ReadlinesError [−][src]
pub enum ReadlinesError {
EncodingError,
Payload(PayloadError),
LimitOverflow,
ContentTypeError(ContentTypeError),
}
Expand description
Error type returned when reading body as lines.
Variants
EncodingError
Error when decoding a line. Payload size is bigger than allowed. (default: 256kB)
Payload(PayloadError)
Tuple Fields
0: PayloadError
Payload error.
LimitOverflow
Line limit exceeded.
ContentTypeError(ContentTypeError)
Tuple Fields
ContentType error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Return BadRequest
for ReadlinesError
Auto Trait Implementations
impl !RefUnwindSafe for ReadlinesError
impl Send for ReadlinesError
impl Sync for ReadlinesError
impl Unpin for ReadlinesError
impl !UnwindSafe for ReadlinesError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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