Enum imap_types::extensions::quota::QuotaRootError
source · pub enum QuotaRootError<M, R> {
Mailbox(M),
Roots(R),
}
Available on crate features
ext_*
and ext_quota
only.Variants§
Trait Implementations§
source§impl<M: Clone, R: Clone> Clone for QuotaRootError<M, R>
impl<M: Clone, R: Clone> Clone for QuotaRootError<M, R>
source§fn clone(&self) -> QuotaRootError<M, R>
fn clone(&self) -> QuotaRootError<M, R>
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<M, R> Error for QuotaRootError<M, R>where
Self: Debug + Display,
impl<M, R> Error for QuotaRootError<M, R>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<M: Ord, R: Ord> Ord for QuotaRootError<M, R>
impl<M: Ord, R: Ord> Ord for QuotaRootError<M, R>
source§fn cmp(&self, other: &QuotaRootError<M, R>) -> Ordering
fn cmp(&self, other: &QuotaRootError<M, R>) -> 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<M: PartialEq, R: PartialEq> PartialEq<QuotaRootError<M, R>> for QuotaRootError<M, R>
impl<M: PartialEq, R: PartialEq> PartialEq<QuotaRootError<M, R>> for QuotaRootError<M, R>
source§fn eq(&self, other: &QuotaRootError<M, R>) -> bool
fn eq(&self, other: &QuotaRootError<M, R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<M: PartialOrd, R: PartialOrd> PartialOrd<QuotaRootError<M, R>> for QuotaRootError<M, R>
impl<M: PartialOrd, R: PartialOrd> PartialOrd<QuotaRootError<M, R>> for QuotaRootError<M, R>
source§fn partial_cmp(&self, other: &QuotaRootError<M, R>) -> Option<Ordering>
fn partial_cmp(&self, other: &QuotaRootError<M, R>) -> 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<M: Eq, R: Eq> Eq for QuotaRootError<M, R>
impl<M, R> StructuralEq for QuotaRootError<M, R>
impl<M, R> StructuralPartialEq for QuotaRootError<M, R>
Auto Trait Implementations§
impl<M, R> RefUnwindSafe for QuotaRootError<M, R>where M: RefUnwindSafe, R: RefUnwindSafe,
impl<M, R> Send for QuotaRootError<M, R>where M: Send, R: Send,
impl<M, R> Sync for QuotaRootError<M, R>where M: Sync, R: Sync,
impl<M, R> Unpin for QuotaRootError<M, R>where M: Unpin, R: Unpin,
impl<M, R> UnwindSafe for QuotaRootError<M, R>where M: UnwindSafe, R: 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