pub enum LogIOError {
IO(DBIOError),
Corruption(LogCorruptionErrorMetadata),
Seralization(LogSerializationErrorKind),
}
Expand description
Errors related to writing to a log file.
Variants§
IO(DBIOError)
Variant for errors that are related to IO.
Corruption(LogCorruptionErrorMetadata)
Variant for IO issues where the cause is malformed data on the file system.
Seralization(LogSerializationErrorKind)
Variant for parsing issues that arise specifically from deserializing data from the file system.
Trait Implementations§
Source§impl Clone for LogIOError
impl Clone for LogIOError
Source§fn clone(&self) -> LogIOError
fn clone(&self) -> LogIOError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogIOError
impl Debug for LogIOError
Source§impl Display for LogIOError
impl Display for LogIOError
Source§impl Error for LogIOError
impl Error for LogIOError
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()
Source§impl From<Error> for LogIOError
impl From<Error> for LogIOError
Source§impl From<LogIOError> for RainDBError
impl From<LogIOError> for RainDBError
Source§fn from(err: LogIOError) -> Self
fn from(err: LogIOError) -> Self
Converts to this type from the input type.
Source§impl From<LogIOError> for WriteError
impl From<LogIOError> for WriteError
Source§fn from(err: LogIOError) -> Self
fn from(err: LogIOError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for LogIOError
impl From<TryFromIntError> for LogIOError
Source§fn from(err: TryFromIntError) -> Self
fn from(err: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogIOError
impl PartialEq for LogIOError
impl Eq for LogIOError
impl StructuralPartialEq for LogIOError
Auto Trait Implementations§
impl Freeze for LogIOError
impl RefUnwindSafe for LogIOError
impl Send for LogIOError
impl Sync for LogIOError
impl Unpin for LogIOError
impl UnwindSafe for LogIOError
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