pub enum WalWriteError {
NonEmptyWal {
length: u64,
},
RecoveredBytesOverflow,
GroupTooLarge {
encoded_bytes: usize,
max_group_bytes: usize,
},
SequenceExhausted,
Header(RegistryError),
Record(RecordEncodeError),
Poisoned(&'static str),
Failed {
kind: ErrorKind,
detail: Arc<str>,
},
}Expand description
WAL creation, staging, or group-flush failure.
Variants§
NonEmptyWal
The requested path already contains WAL bytes.
RecoveredBytesOverflow
Recovered record byte accounting exceeded the address space.
GroupTooLarge
One encoded record cannot fit the configured byte bound.
Fields
SequenceExhausted
The u64 sequence space has no successor.
Header(RegistryError)
WAL header registry lookup failed.
Record(RecordEncodeError)
Record framing failed.
Poisoned(&'static str)
A shared writer mutex was poisoned.
Failed
The writer failed permanently after visibility was published.
Trait Implementations§
Source§impl Debug for WalWriteError
impl Debug for WalWriteError
Source§impl Display for WalWriteError
impl Display for WalWriteError
Source§impl Error for WalWriteError
impl Error for WalWriteError
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<WalWriteError> for IngestError
impl From<WalWriteError> for IngestError
Source§fn from(error: WalWriteError) -> Self
fn from(error: WalWriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalWriteError
impl RefUnwindSafe for WalWriteError
impl Send for WalWriteError
impl Sync for WalWriteError
impl Unpin for WalWriteError
impl UnsafeUnpin for WalWriteError
impl UnwindSafe for WalWriteError
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