pub enum LogWriteError {
Changed,
Io(Error),
}Expand description
Why a log write wrote nothing.
Variants§
Changed
The log is not the len bytes the writer read: another writer
changed it. Nothing was written.
Io(Error)
The store failed.
Trait Implementations§
Source§impl Debug for LogWriteError
impl Debug for LogWriteError
Source§impl Display for LogWriteError
impl Display for LogWriteError
Source§impl Error for LogWriteError
impl Error for LogWriteError
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 LogWriteError
impl From<Error> for LogWriteError
Source§impl From<LogWriteError> for Error
impl From<LogWriteError> for Error
Source§fn from(error: LogWriteError) -> Self
fn from(error: LogWriteError) -> Self
The store’s own error back; LogWriteError::Changed as an
io::ErrorKind::Other saying so.
Auto Trait Implementations§
impl !RefUnwindSafe for LogWriteError
impl !UnwindSafe for LogWriteError
impl Freeze for LogWriteError
impl Send for LogWriteError
impl Sync for LogWriteError
impl Unpin for LogWriteError
impl UnsafeUnpin for LogWriteError
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