Enum actix_web::error::ReadlinesError
source · [−]#[non_exhaustive]
pub enum ReadlinesError {
EncodingError,
Payload(PayloadError),
LimitOverflow,
ContentTypeError(ContentTypeError),
}
Expand description
Error type returned when reading body as lines.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EncodingError
Payload size is bigger than allowed. (default: 256kB)
Payload(PayloadError)
Payload error.
LimitOverflow
Line limit exceeded.
ContentTypeError(ContentTypeError)
ContentType error.
Trait Implementations
Performs the conversion.
Performs the conversion.
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
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