#[non_exhaustive]pub enum CommittedOperationReadError {
Limit {
limit: usize,
max: usize,
},
Store(DurabilityError),
Retired {
conversation_id: u64,
},
RoutedStream(RoutedStreamRefusal),
MissingFlatRow {
sequence: u64,
native_head: u64,
},
Sequence {
expected: u64,
actual: u64,
},
SequenceOverflow {
from_sequence: u64,
},
}Expand description
Why a page of committed operations could not be read.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Limit
The page limit is zero or above COMMITTED_OPERATION_PAGE_MAX.
Store(DurabilityError)
The durable store refused a read.
Retired
The conversation is retired; its log is never reopened (DUR-027 R4).
RoutedStream(RoutedStreamRefusal)
The routed tail’s head or a routed row was refused.
MissingFlatRow
A flat row below the native head was absent.
Fields
Sequence
A row answered out of order.
Fields
SequenceOverflow
A sequence in the page does not fit its encoded width.
Trait Implementations§
Source§impl Debug for CommittedOperationReadError
impl Debug for CommittedOperationReadError
Source§impl Error for CommittedOperationReadError
impl Error for CommittedOperationReadError
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<DurabilityError> for CommittedOperationReadError
impl From<DurabilityError> for CommittedOperationReadError
Source§fn from(source: DurabilityError) -> Self
fn from(source: DurabilityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommittedOperationReadError
impl !UnwindSafe for CommittedOperationReadError
impl Freeze for CommittedOperationReadError
impl Send for CommittedOperationReadError
impl Sync for CommittedOperationReadError
impl Unpin for CommittedOperationReadError
impl UnsafeUnpin for CommittedOperationReadError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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