Enum thfmr_util::graphql::CursorError [−][src]
pub enum CursorError { InvalidIdentifier, MissingData, InvalidData, DecodeError(DecodeError), FromUtf8Error(FromUtf8Error), }
Expand description
Possible errors from [Cursor::decode_cursor]
Variants
Expand description
Returned when the identifier part of the Cursor is invalid.
DecodeError(DecodeError)
FromUtf8Error(FromUtf8Error)
Trait Implementations
impl Debug for CursorError
[src]
impl Debug for CursorError
[src]impl Display for CursorError
[src]
impl Display for CursorError
[src]impl Error for CursorError
[src]
impl Error for CursorError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<DecodeError> for CursorError
[src]
impl From<DecodeError> for CursorError
[src]fn from(source: DecodeError) -> Self
[src]
fn from(source: DecodeError) -> Self
[src]Performs the conversion.
impl From<FromUtf8Error> for CursorError
[src]
impl From<FromUtf8Error> for CursorError
[src]fn from(source: FromUtf8Error) -> Self
[src]
fn from(source: FromUtf8Error) -> Self
[src]Performs the conversion.
impl PartialEq<CursorError> for CursorError
[src]
impl PartialEq<CursorError> for CursorError
[src]fn eq(&self, other: &CursorError) -> bool
[src]
fn eq(&self, other: &CursorError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &CursorError) -> bool
[src]
fn ne(&self, other: &CursorError) -> bool
[src]This method tests for !=
.
impl Eq for CursorError
[src]
impl StructuralEq for CursorError
[src]
impl StructuralPartialEq for CursorError
[src]
Auto Trait Implementations
impl RefUnwindSafe for CursorError
impl Send for CursorError
impl Sync for CursorError
impl Unpin for CursorError
impl UnwindSafe for CursorError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,