pub enum WalReaderError {
EndOfWal,
IoError(String),
Corruption(WalCorruption),
DecodeError(String),
ReducerError(String),
}Expand description
Errors that can occur during WAL reading.
Variants§
EndOfWal
The reader reached the end of the WAL.
IoError(String)
I/O error during read.
Corruption(WalCorruption)
Strict WAL corruption details with deterministic record-boundary offset.
DecodeError(String)
The event could not be decoded outside strict framed-record corruption paths.
ReducerError(String)
An error occurred during replay reduction.
Trait Implementations§
Source§impl Clone for WalReaderError
impl Clone for WalReaderError
Source§fn clone(&self) -> WalReaderError
fn clone(&self) -> WalReaderError
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 WalReaderError
impl Debug for WalReaderError
Source§impl Display for WalReaderError
impl Display for WalReaderError
Source§impl Error for WalReaderError
impl Error for WalReaderError
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<ReplayReducerError> for WalReaderError
impl From<ReplayReducerError> for WalReaderError
Source§fn from(err: ReplayReducerError) -> Self
fn from(err: ReplayReducerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WalReaderError
impl PartialEq for WalReaderError
impl Eq for WalReaderError
impl StructuralPartialEq for WalReaderError
Auto Trait Implementations§
impl Freeze for WalReaderError
impl RefUnwindSafe for WalReaderError
impl Send for WalReaderError
impl Sync for WalReaderError
impl Unpin for WalReaderError
impl UnsafeUnpin for WalReaderError
impl UnwindSafe for WalReaderError
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