pub enum StreamCursorRefError {
WrongScope {
expected: String,
actual: String,
},
SequenceRegression {
family: ReplayCursorFamily,
scope: String,
current: usize,
proposed: usize,
},
}Expand description
Invalid durable stream-cursor update.
Variants§
WrongScope
Cursor scope does not identify the run being updated.
SequenceRegression
Cursor sequence would move durable replay progress backwards.
Trait Implementations§
Source§impl Clone for StreamCursorRefError
impl Clone for StreamCursorRefError
Source§fn clone(&self) -> StreamCursorRefError
fn clone(&self) -> StreamCursorRefError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamCursorRefError
impl Debug for StreamCursorRefError
Source§impl Display for StreamCursorRefError
impl Display for StreamCursorRefError
impl Eq for StreamCursorRefError
Source§impl Error for StreamCursorRefError
impl Error for StreamCursorRefError
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 PartialEq for StreamCursorRefError
impl PartialEq for StreamCursorRefError
impl StructuralPartialEq for StreamCursorRefError
Auto Trait Implementations§
impl Freeze for StreamCursorRefError
impl RefUnwindSafe for StreamCursorRefError
impl Send for StreamCursorRefError
impl Sync for StreamCursorRefError
impl Unpin for StreamCursorRefError
impl UnsafeUnpin for StreamCursorRefError
impl UnwindSafe for StreamCursorRefError
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