Enum imap_codec::response::FetchError
source · pub enum FetchError<S, I> {
SeqOrUid(S),
InvalidItems(I),
}
Variants§
Trait Implementations§
source§impl<S, I> Clone for FetchError<S, I>where
S: Clone,
I: Clone,
impl<S, I> Clone for FetchError<S, I>where S: Clone, I: Clone,
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
FetchError<S, I>: Debug + Display,
impl<S, I> Error for FetchError<S, I>where FetchError<S, I>: 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, I> Ord for FetchError<S, I>where
S: Ord,
I: Ord,
impl<S, I> Ord for FetchError<S, I>where S: Ord, I: Ord,
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, I> PartialEq<FetchError<S, I>> for FetchError<S, I>where
S: PartialEq<S>,
I: PartialEq<I>,
impl<S, I> PartialEq<FetchError<S, I>> for FetchError<S, I>where S: PartialEq<S>, I: PartialEq<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, I> PartialOrd<FetchError<S, I>> for FetchError<S, I>where
S: PartialOrd<S>,
I: PartialOrd<I>,
impl<S, I> PartialOrd<FetchError<S, I>> for FetchError<S, I>where S: PartialOrd<S>, I: PartialOrd<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, I> Eq for FetchError<S, I>where S: Eq, I: Eq,
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