pub enum PagerDriverError {
ResponsePending,
UnexpectedObservation,
Terminal,
Strategy(PaginationError),
}Expand description
Pager sequencing or strategy failure.
Variants§
ResponsePending
A request is already awaiting one response.
UnexpectedObservation
A response was supplied without one admitted request.
Terminal
The driver already completed or was cancelled.
Strategy(PaginationError)
The underlying transactional strategy rejected the response.
Trait Implementations§
Source§impl Clone for PagerDriverError
impl Clone for PagerDriverError
Source§fn clone(&self) -> PagerDriverError
fn clone(&self) -> PagerDriverError
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 moreimpl Copy for PagerDriverError
Source§impl Debug for PagerDriverError
impl Debug for PagerDriverError
Source§impl Display for PagerDriverError
impl Display for PagerDriverError
impl Eq for PagerDriverError
Source§impl Error for PagerDriverError
impl Error for PagerDriverError
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 PagerDriverError
impl PartialEq for PagerDriverError
impl StructuralPartialEq for PagerDriverError
Auto Trait Implementations§
impl Freeze for PagerDriverError
impl RefUnwindSafe for PagerDriverError
impl Send for PagerDriverError
impl Sync for PagerDriverError
impl Unpin for PagerDriverError
impl UnsafeUnpin for PagerDriverError
impl UnwindSafe for PagerDriverError
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