#[non_exhaustive]pub enum RoutedStreamRefusal {
Show 17 variants
Checkpoint(Box<CheckpointError>),
CheckpointLocator(CheckpointLocatorError),
CheckpointRouteMismatch,
CheckpointPositionRegression,
CheckpointBodyMismatch,
Codec(CodecError),
EmptyAppend,
SequenceOverflow,
HeadMismatch {
expected: u64,
actual: u64,
},
KeyCollision,
BatchRefused,
InvalidLimit,
OffsetBeyondHead {
offset: u64,
head: u64,
},
HeadIdentityMismatch,
MissingHead {
stream: Vec<u8>,
},
MissingRow {
stream: Vec<u8>,
sequence: u64,
},
Allocation(TryReserveError),
}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.
Checkpoint(Box<CheckpointError>)
CheckpointLocator(CheckpointLocatorError)
CheckpointRouteMismatch
CheckpointPositionRegression
CheckpointBodyMismatch
Codec(CodecError)
EmptyAppend
SequenceOverflow
HeadMismatch
KeyCollision
BatchRefused
InvalidLimit
OffsetBeyondHead
HeadIdentityMismatch
MissingHead
MissingRow
Allocation(TryReserveError)
Trait Implementations§
Source§impl Debug for RoutedStreamRefusal
impl Debug for RoutedStreamRefusal
Source§impl Display for RoutedStreamRefusal
impl Display for RoutedStreamRefusal
Source§impl Error for RoutedStreamRefusal
impl Error for RoutedStreamRefusal
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()
Auto Trait Implementations§
impl !RefUnwindSafe for RoutedStreamRefusal
impl !UnwindSafe for RoutedStreamRefusal
impl Freeze for RoutedStreamRefusal
impl Send for RoutedStreamRefusal
impl Sync for RoutedStreamRefusal
impl Unpin for RoutedStreamRefusal
impl UnsafeUnpin for RoutedStreamRefusal
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