Enum imap_types::extensions::enable::CapabilityEnable
source · #[non_exhaustive]pub enum CapabilityEnable<'a> {
Utf8(Utf8Kind),
CondStore,
Other(CapabilityEnableOther<'a>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Utf8(Utf8Kind)
CondStore
Available on crate feature
ext_condstore_qresync
only.Other(CapabilityEnableOther<'a>)
Trait Implementations§
source§impl<'a> Arbitrary<'a> for CapabilityEnable<'a>
impl<'a> Arbitrary<'a> for CapabilityEnable<'a>
source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl<'a> Clone for CapabilityEnable<'a>
impl<'a> Clone for CapabilityEnable<'a>
source§fn clone(&self) -> CapabilityEnable<'a>
fn clone(&self) -> CapabilityEnable<'a>
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<'a> Debug for CapabilityEnable<'a>
impl<'a> Debug for CapabilityEnable<'a>
source§impl<'de, 'a> Deserialize<'de> for CapabilityEnable<'a>
impl<'de, 'a> Deserialize<'de> for CapabilityEnable<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Display for CapabilityEnable<'a>
impl<'a> Display for CapabilityEnable<'a>
source§impl<'a> From<Atom<'a>> for CapabilityEnable<'a>
impl<'a> From<Atom<'a>> for CapabilityEnable<'a>
source§impl<'a> Hash for CapabilityEnable<'a>
impl<'a> Hash for CapabilityEnable<'a>
source§impl<'a> IntoBoundedStatic for CapabilityEnable<'a>
impl<'a> IntoBoundedStatic for CapabilityEnable<'a>
§type Static = CapabilityEnable<'static>
type Static = CapabilityEnable<'static>
The target type is bounded by the
'static
lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.source§impl<'a> PartialEq<CapabilityEnable<'a>> for CapabilityEnable<'a>
impl<'a> PartialEq<CapabilityEnable<'a>> for CapabilityEnable<'a>
source§fn eq(&self, other: &CapabilityEnable<'a>) -> bool
fn eq(&self, other: &CapabilityEnable<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for CapabilityEnable<'a>
impl<'a> Serialize for CapabilityEnable<'a>
source§impl<'a> ToBoundedStatic for CapabilityEnable<'a>
impl<'a> ToBoundedStatic for CapabilityEnable<'a>
source§impl<'a> TryFrom<&'a str> for CapabilityEnable<'a>
impl<'a> TryFrom<&'a str> for CapabilityEnable<'a>
impl<'a> Eq for CapabilityEnable<'a>
impl<'a> StructuralEq for CapabilityEnable<'a>
impl<'a> StructuralPartialEq for CapabilityEnable<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CapabilityEnable<'a>
impl<'a> Send for CapabilityEnable<'a>
impl<'a> Sync for CapabilityEnable<'a>
impl<'a> Unpin for CapabilityEnable<'a>
impl<'a> UnwindSafe for CapabilityEnable<'a>
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