[][src]Enum misc_utils::error::MtJsonlError

pub enum MtJsonlError {
    NotCompleted,
    IoError {
        source: Error,
    },
    ParsingError {
        source: Error,
    },
}

Error value for elements returned by MtJsonl.

Please see the individual variants for details.

Variants

NotCompleted

Indicates some error while processing the file. Not all lines in the file were processed.

IoError

Some error occured while opening or reading the file.

Fields of IoError

source: Error

Source Error

ParsingError

Some error occured while parsing a JSON value Created in the parsing thread based on a serde_json::Error

Fields of ParsingError

source: Error

Error message of the parsing library

Trait Implementations

impl Debug for MtJsonlError[src]

impl Display for MtJsonlError[src]

impl Error for MtJsonlError[src]

impl From<Error> for MtJsonlError[src]

impl From<Error> for MtJsonlError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.