Enum imap_codec::command::RenameError
source · pub enum RenameError<F, T> {
From(F),
To(T),
}Variants§
Trait Implementations§
source§impl<F, T> Clone for RenameError<F, T>where
F: Clone,
T: Clone,
impl<F, T> Clone for RenameError<F, T>where F: Clone, T: Clone,
source§fn clone(&self) -> RenameError<F, T>
fn clone(&self) -> RenameError<F, T>
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<F, T> Error for RenameError<F, T>where
RenameError<F, T>: Debug + Display,
impl<F, T> Error for RenameError<F, T>where RenameError<F, T>: 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<F, T> Ord for RenameError<F, T>where
F: Ord,
T: Ord,
impl<F, T> Ord for RenameError<F, T>where F: Ord, T: Ord,
source§fn cmp(&self, other: &RenameError<F, T>) -> Ordering
fn cmp(&self, other: &RenameError<F, T>) -> 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<F, T> PartialEq<RenameError<F, T>> for RenameError<F, T>where
F: PartialEq<F>,
T: PartialEq<T>,
impl<F, T> PartialEq<RenameError<F, T>> for RenameError<F, T>where F: PartialEq<F>, T: PartialEq<T>,
source§fn eq(&self, other: &RenameError<F, T>) -> bool
fn eq(&self, other: &RenameError<F, T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<F, T> PartialOrd<RenameError<F, T>> for RenameError<F, T>where
F: PartialOrd<F>,
T: PartialOrd<T>,
impl<F, T> PartialOrd<RenameError<F, T>> for RenameError<F, T>where F: PartialOrd<F>, T: PartialOrd<T>,
source§fn partial_cmp(&self, other: &RenameError<F, T>) -> Option<Ordering>
fn partial_cmp(&self, other: &RenameError<F, T>) -> 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 more