Enum actix_web::error::ReadlinesError [−][src]
pub enum ReadlinesError { EncodingError, PayloadError(PayloadError), LimitOverflow, ContentTypeError(ContentTypeError), }
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
impl From<PayloadError> for ReadlinesError
[src]
impl From<PayloadError> for ReadlinesError
fn from(err: PayloadError) -> Self
[src]
fn from(err: PayloadError) -> Self
Performs the conversion.
impl From<ContentTypeError> for ReadlinesError
[src]
impl From<ContentTypeError> for ReadlinesError
fn from(err: ContentTypeError) -> Self
[src]
fn from(err: ContentTypeError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ReadlinesError
impl Send for ReadlinesError
impl Sync for ReadlinesError
impl Sync for ReadlinesError