Enum imap_codec::extensions::enable::CapabilityEnable
source · pub enum CapabilityEnable<'a> {
Utf8(Utf8Kind),
CondStore,
Other(CapabilityEnableOther<'a>),
}
Available on crate features
ext_*
and ext_enable
only.Variants§
Trait Implementations§
source§impl<'a, 'arbitrary> Arbitrary<'arbitrary> for CapabilityEnable<'a>where
'arbitrary: 'a,
impl<'a, 'arbitrary> Arbitrary<'arbitrary> for CapabilityEnable<'a>where 'arbitrary: 'a,
source§fn arbitrary(
u: &mut Unstructured<'arbitrary>
) -> Result<CapabilityEnable<'a>, Error>
fn arbitrary( u: &mut Unstructured<'arbitrary> ) -> Result<CapabilityEnable<'a>, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<CapabilityEnable<'a>, Error>
fn arbitrary_take_rest( u: Unstructured<'arbitrary> ) -> Result<CapabilityEnable<'a>, 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<CapabilityEnable<'a>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CapabilityEnable<'a>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> From<Atom<'a>> for CapabilityEnable<'a>
impl<'a> From<Atom<'a>> for CapabilityEnable<'a>
source§fn from(atom: Atom<'a>) -> CapabilityEnable<'a>
fn from(atom: Atom<'a>) -> CapabilityEnable<'a>
Converts to this type from the input type.
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) -> <CapabilityEnable<'a> as IntoBoundedStatic>::Static
fn into_static(self) -> <CapabilityEnable<'a> as IntoBoundedStatic>::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§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl<'a> ToBoundedStatic for CapabilityEnable<'a>
impl<'a> ToBoundedStatic for CapabilityEnable<'a>
§type Static = CapabilityEnable<'static>
type Static = CapabilityEnable<'static>
The target type is bounded by the
'static
lifetime.source§fn to_static(&self) -> <CapabilityEnable<'a> as ToBoundedStatic>::Static
fn to_static(&self) -> <CapabilityEnable<'a> as ToBoundedStatic>::Static
Convert an
&T
to an owned T
such that T: 'static
.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