#[non_exhaustive]pub enum PullCursorError {
Negative,
ResyncRequired {
horizon_revision: i64,
},
}Expand description
Reason a pull cursor cannot be served incrementally.
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.
Negative
The cursor is below zero, which no revision counter can produce.
ResyncRequired
The cursor is above zero and below the owner’s purge horizon.
Trait Implementations§
Source§impl Clone for PullCursorError
impl Clone for PullCursorError
impl Copy for PullCursorError
Source§impl Debug for PullCursorError
impl Debug for PullCursorError
Source§impl Display for PullCursorError
impl Display for PullCursorError
impl Eq for PullCursorError
Source§impl Error for PullCursorError
impl Error for PullCursorError
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 PullCursorError
impl PartialEq for PullCursorError
impl StructuralPartialEq for PullCursorError
Auto Trait Implementations§
impl Freeze for PullCursorError
impl RefUnwindSafe for PullCursorError
impl Send for PullCursorError
impl Sync for PullCursorError
impl Unpin for PullCursorError
impl UnsafeUnpin for PullCursorError
impl UnwindSafe for PullCursorError
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