Enum imap_codec::core::NonEmptyVecError
source · pub enum NonEmptyVecError {
Empty,
}
Expand description
Error during creation of a non-empty vector.
Variants§
Empty
Trait Implementations§
source§impl Clone for NonEmptyVecError
impl Clone for NonEmptyVecError
source§fn clone(&self) -> NonEmptyVecError
fn clone(&self) -> NonEmptyVecError
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 Debug for NonEmptyVecError
impl Debug for NonEmptyVecError
source§impl Display for NonEmptyVecError
impl Display for NonEmptyVecError
source§impl Error for NonEmptyVecError
impl Error for NonEmptyVecError
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 Hash for NonEmptyVecError
impl Hash for NonEmptyVecError
source§impl Ord for NonEmptyVecError
impl Ord for NonEmptyVecError
source§fn cmp(&self, other: &NonEmptyVecError) -> Ordering
fn cmp(&self, other: &NonEmptyVecError) -> 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 PartialEq<NonEmptyVecError> for NonEmptyVecError
impl PartialEq<NonEmptyVecError> for NonEmptyVecError
source§fn eq(&self, other: &NonEmptyVecError) -> bool
fn eq(&self, other: &NonEmptyVecError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NonEmptyVecError> for NonEmptyVecError
impl PartialOrd<NonEmptyVecError> for NonEmptyVecError
source§fn partial_cmp(&self, other: &NonEmptyVecError) -> Option<Ordering>
fn partial_cmp(&self, other: &NonEmptyVecError) -> 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 Eq for NonEmptyVecError
impl StructuralEq for NonEmptyVecError
impl StructuralPartialEq for NonEmptyVecError
Auto Trait Implementations§
impl RefUnwindSafe for NonEmptyVecError
impl Send for NonEmptyVecError
impl Sync for NonEmptyVecError
impl Unpin for NonEmptyVecError
impl UnwindSafe for NonEmptyVecError
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