Enum actix_web::error::ReadlinesError
source · pub enum ReadlinesError {
EncodingError,
PayloadError(PayloadError),
LimitOverflow,
ContentTypeError(ContentTypeError),
}
Expand description
Error type returned when reading body as lines.
Variants
EncodingError
Error when decoding a line.
PayloadError(PayloadError)
Payload error.
LimitOverflow
Line limit exceeded.
ContentTypeError(ContentTypeError)
ContentType error.
Trait Implementations
sourceimpl From<ContentTypeError> for ReadlinesError
impl From<ContentTypeError> for ReadlinesError
sourcefn from(err: ContentTypeError) -> Self
fn from(err: ContentTypeError) -> Self
Converts to this type from the input type.
sourceimpl From<PayloadError> for ReadlinesError
impl From<PayloadError> for ReadlinesError
sourcefn from(err: PayloadError) -> Self
fn from(err: PayloadError) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more