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