pub enum NamespaceCursorError {
Malformed(PageCursorError),
ForeignNamespace,
OutsideKeyspace,
}Expand description
Why a namespace-bound cursor cannot resume the enumeration replaying it.
Variants§
Malformed(PageCursorError)
Not a cursor this enumeration issued: unreadable, or from another endpoint, job, or cursor version.
ForeignNamespace
A cursor for a different namespace than the one replaying it.
OutsideKeyspace
A cursor naming a key outside the prefix its enumeration walks.
Trait Implementations§
Source§impl Clone for NamespaceCursorError
impl Clone for NamespaceCursorError
Source§fn clone(&self) -> NamespaceCursorError
fn clone(&self) -> NamespaceCursorError
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 NamespaceCursorError
impl Debug for NamespaceCursorError
Source§impl Display for NamespaceCursorError
impl Display for NamespaceCursorError
impl Eq for NamespaceCursorError
Source§impl Error for NamespaceCursorError
impl Error for NamespaceCursorError
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<PageCursorError> for NamespaceCursorError
impl From<PageCursorError> for NamespaceCursorError
Source§fn from(source: PageCursorError) -> Self
fn from(source: PageCursorError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NamespaceCursorError
impl PartialEq for NamespaceCursorError
impl StructuralPartialEq for NamespaceCursorError
Auto Trait Implementations§
impl Freeze for NamespaceCursorError
impl RefUnwindSafe for NamespaceCursorError
impl Send for NamespaceCursorError
impl Sync for NamespaceCursorError
impl Unpin for NamespaceCursorError
impl UnsafeUnpin for NamespaceCursorError
impl UnwindSafe for NamespaceCursorError
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