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