Enum actix_web::error::ReadlinesError [−][src]
pub enum ReadlinesError {
EncodingError,
PayloadError(PayloadError),
LimitOverflow,
ContentTypeError(ContentTypeError),
}Error type returned when reading body as lines.
Variants
EncodingErrorError when decoding a line.
PayloadError(PayloadError)Payload error.
LimitOverflowLine limit exceeded.
ContentTypeError(ContentTypeError)ContentType error.
Trait Implementations
impl From<PayloadError> for ReadlinesError[src]
impl From<PayloadError> for ReadlinesErrorfn from(err: PayloadError) -> Self[src]
fn from(err: PayloadError) -> SelfPerforms the conversion.
impl From<ContentTypeError> for ReadlinesError[src]
impl From<ContentTypeError> for ReadlinesErrorfn from(err: ContentTypeError) -> Self[src]
fn from(err: ContentTypeError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for ReadlinesError
impl Send for ReadlinesErrorimpl Sync for ReadlinesError
impl Sync for ReadlinesError