pub enum JoplinReaderError {
FolderReadError,
FileReadError {
message: String,
},
DecryptionError {
message: String,
},
NoteIdNotFound {
note_id: String,
},
NoteNotFound {
search_text: String,
},
InvalidFormat {
message: String,
},
NoEncryptionKey {
key: String,
},
NoEncryptionText,
NoText,
UnexpectedEndOfNote,
UnknownEncryptionMethod,
KeyIdMismatch,
}Variants§
FolderReadError
FileReadError
DecryptionError
NoteIdNotFound
NoteNotFound
InvalidFormat
NoEncryptionKey
NoEncryptionText
NoText
UnexpectedEndOfNote
UnknownEncryptionMethod
KeyIdMismatch
Trait Implementations§
Source§impl Debug for JoplinReaderError
impl Debug for JoplinReaderError
Source§impl Display for JoplinReaderError
impl Display for JoplinReaderError
Source§impl Error for JoplinReaderError
impl Error for JoplinReaderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for JoplinReaderError
impl RefUnwindSafe for JoplinReaderError
impl Send for JoplinReaderError
impl Sync for JoplinReaderError
impl Unpin for JoplinReaderError
impl UnwindSafe for JoplinReaderError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more