pub enum ReadStatusFileError {
IO(Error),
Empty,
SerdeJson(Error),
}
Variants§
Trait Implementations§
Source§impl Debug for ReadStatusFileError
impl Debug for ReadStatusFileError
Source§impl Display for ReadStatusFileError
impl Display for ReadStatusFileError
Source§impl Error for ReadStatusFileError
impl Error for ReadStatusFileError
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()
Source§impl From<Error> for ReadStatusFileError
impl From<Error> for ReadStatusFileError
Source§impl From<Error> for ReadStatusFileError
impl From<Error> for ReadStatusFileError
Source§impl From<ReadStatusFileError> for LiveJournalBufferError
impl From<ReadStatusFileError> for LiveJournalBufferError
Source§fn from(source: ReadStatusFileError) -> Self
fn from(source: ReadStatusFileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReadStatusFileError
impl !RefUnwindSafe for ReadStatusFileError
impl Send for ReadStatusFileError
impl Sync for ReadStatusFileError
impl Unpin for ReadStatusFileError
impl !UnwindSafe for ReadStatusFileError
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