[][src]Enum onenote_parser::ErrorKind

pub enum ErrorKind {
    UnexpectedEOF,
    NotATocFile {
        file: String,
    },
    NotASectionFile {
        file: String,
    },
    MalformedData(Cow<'static, str>),
    MalformedOneNoteData(Cow<'static, str>),
    MalformedOneNoteFileData(Cow<'static, str>),
    MalformedOneStoreData(Cow<'static, str>),
    MalformedFssHttpBData(Cow<'static, str>),
    InvalidUuid {
        err: Error,
    },
    IO {
        err: Error,
    },
    Utf16Error {
        err: FromUtf16Error,
    },
    Utf16MissingNull {
        err: MissingNulError<u16>,
    },
}

Variants

UnexpectedEOF
NotATocFile

Fields of NotATocFile

file: String
NotASectionFile

Fields of NotASectionFile

file: String
MalformedData(Cow<'static, str>)
MalformedOneNoteData(Cow<'static, str>)
MalformedOneNoteFileData(Cow<'static, str>)
MalformedOneStoreData(Cow<'static, str>)
MalformedFssHttpBData(Cow<'static, str>)
InvalidUuid

Fields of InvalidUuid

err: Error
IO

Fields of IO

err: Error
Utf16Error

Fields of Utf16Error

err: FromUtf16Error
Utf16MissingNull

Fields of Utf16MissingNull

err: MissingNulError<u16>

Trait Implementations

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Error for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<Error> for ErrorKind[src]

impl From<ErrorKind> for Error[src]

impl From<FromUtf16Error> for ErrorKind[src]

impl From<MissingNulError<u16>> for ErrorKind[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.