pub struct PaginationError { /* private fields */ }Expand description
Error type used throughout the library for error handling.
Implementations§
Source§impl PaginationError
impl PaginationError
Sourcepub fn get_error_kind(&self) -> &ErrorKind
pub fn get_error_kind(&self) -> &ErrorKind
Get the ErrorKind.
Trait Implementations§
Source§impl Debug for PaginationError
Implementation of Debug for PaginationError.
impl Debug for PaginationError
Implementation of Debug for PaginationError.
Source§impl Display for PaginationError
Implementation of Display for PaginationError.
impl Display for PaginationError
Implementation of Display for PaginationError.
Source§impl From<Error> for PaginationError
Available on crate feature sqlx only.Implementation of From<sqlx::Error> for PaginationError. Only available when the sqlx feature is enabled.
impl From<Error> for PaginationError
Available on crate feature
sqlx only.Implementation of From<sqlx::Error> for PaginationError. Only available when the sqlx feature is enabled.
Auto Trait Implementations§
impl Freeze for PaginationError
impl !RefUnwindSafe for PaginationError
impl Send for PaginationError
impl Sync for PaginationError
impl Unpin for PaginationError
impl !UnwindSafe for PaginationError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more