Enum joplin_reader::JoplinReaderError[][src]

pub enum JoplinReaderError {
    FolderReadError,
    FileReadError {
        message: String,
    },
    DecryptionError {
        message: String,
    },
    NoteIdNotFound {
        note_id: String,
    },
    NoteNotFound {
        search_text: String,
    },
    InvalidFormat {
        message: String,
    },
    NoEncryptionKey,
    NoEncryptionText,
    NoText,
    UnexpectedEndOfNote,
    UnknownEncryptionMethod,
    KeyIdMismatch,
}

Variants

FolderReadError
FileReadError
Show fields

Fields of FileReadError

message: String
DecryptionError
Show fields

Fields of DecryptionError

message: String
NoteIdNotFound
Show fields

Fields of NoteIdNotFound

note_id: String
NoteNotFound
Show fields

Fields of NoteNotFound

search_text: String
InvalidFormat
Show fields

Fields of InvalidFormat

message: String
NoEncryptionKey
NoEncryptionText
NoText
UnexpectedEndOfNote
UnknownEncryptionMethod
KeyIdMismatch

Trait Implementations

impl Debug for JoplinReaderError[src]

impl Display for JoplinReaderError[src]

impl Error for JoplinReaderError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsErrorSource for T where
    T: 'static + Error

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> Same<T> for T

type Output = T

Should always be Self

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.