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 { key: String, }, NoEncryptionText, NoText, UnexpectedEndOfNote, UnknownEncryptionMethod, KeyIdMismatch, }
Variants
Show fields
Fields of FileReadError
message: String
Show fields
Fields of DecryptionError
message: String
Show fields
Fields of NoteIdNotFound
note_id: String
Show fields
Fields of NoteNotFound
search_text: String
Show fields
Fields of InvalidFormat
message: String
Show fields
Fields of NoEncryptionKey
key: String
Trait Implementations
impl Debug for JoplinReaderError
[src]
impl Debug for JoplinReaderError
[src]impl Display for JoplinReaderError
[src]
impl Display for JoplinReaderError
[src]impl Error for JoplinReaderError
[src]
impl Error for JoplinReaderError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for JoplinReaderError
impl Send for JoplinReaderError
impl Sync for JoplinReaderError
impl Unpin for JoplinReaderError
impl UnwindSafe for JoplinReaderError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self