Enum imap_types::response::FetchError
source · pub enum FetchError<S, I> {
SeqOrUid(S),
InvalidItems(I),
}
Variants§
Trait Implementations§
source§impl<S: Clone, I: Clone> Clone for FetchError<S, I>
impl<S: Clone, I: Clone> Clone for FetchError<S, I>
source§fn clone(&self) -> FetchError<S, I>
fn clone(&self) -> FetchError<S, I>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S, I> Error for FetchError<S, I>where
Self: Debug + Display,
impl<S, I> Error for FetchError<S, I>where Self: Debug + Display,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<S: Ord, I: Ord> Ord for FetchError<S, I>
impl<S: Ord, I: Ord> Ord for FetchError<S, I>
source§fn cmp(&self, other: &FetchError<S, I>) -> Ordering
fn cmp(&self, other: &FetchError<S, I>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<S: PartialEq, I: PartialEq> PartialEq<FetchError<S, I>> for FetchError<S, I>
impl<S: PartialEq, I: PartialEq> PartialEq<FetchError<S, I>> for FetchError<S, I>
source§fn eq(&self, other: &FetchError<S, I>) -> bool
fn eq(&self, other: &FetchError<S, I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<S: PartialOrd, I: PartialOrd> PartialOrd<FetchError<S, I>> for FetchError<S, I>
impl<S: PartialOrd, I: PartialOrd> PartialOrd<FetchError<S, I>> for FetchError<S, I>
source§fn partial_cmp(&self, other: &FetchError<S, I>) -> Option<Ordering>
fn partial_cmp(&self, other: &FetchError<S, I>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<S: Eq, I: Eq> Eq for FetchError<S, I>
impl<S, I> StructuralEq for FetchError<S, I>
impl<S, I> StructuralPartialEq for FetchError<S, I>
Auto Trait Implementations§
impl<S, I> RefUnwindSafe for FetchError<S, I>where I: RefUnwindSafe, S: RefUnwindSafe,
impl<S, I> Send for FetchError<S, I>where I: Send, S: Send,
impl<S, I> Sync for FetchError<S, I>where I: Sync, S: Sync,
impl<S, I> Unpin for FetchError<S, I>where I: Unpin, S: Unpin,
impl<S, I> UnwindSafe for FetchError<S, I>where I: UnwindSafe, S: UnwindSafe,
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