Enum imap_codec::extensions::literal::LiteralCapability
source · pub enum LiteralCapability {
Plus,
Minus,
}
Available on crate features
ext_*
and ext_literal
only.Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LiteralCapability
impl<'arbitrary> Arbitrary<'arbitrary> for LiteralCapability
source§fn arbitrary(
u: &mut Unstructured<'arbitrary>
) -> Result<LiteralCapability, Error>
fn arbitrary( u: &mut Unstructured<'arbitrary> ) -> Result<LiteralCapability, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<LiteralCapability, Error>
fn arbitrary_take_rest( u: Unstructured<'arbitrary> ) -> Result<LiteralCapability, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LiteralCapability
impl Clone for LiteralCapability
source§fn clone(&self) -> LiteralCapability
fn clone(&self) -> LiteralCapability
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 Debug for LiteralCapability
impl Debug for LiteralCapability
source§impl<'de> Deserialize<'de> for LiteralCapability
impl<'de> Deserialize<'de> for LiteralCapability
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LiteralCapability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LiteralCapability, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for LiteralCapability
impl Hash for LiteralCapability
source§impl IntoBoundedStatic for LiteralCapability
impl IntoBoundedStatic for LiteralCapability
§type Static = LiteralCapability
type Static = LiteralCapability
The target type is bounded by the
'static
lifetime.source§fn into_static(self) -> <LiteralCapability as IntoBoundedStatic>::Static
fn into_static(self) -> <LiteralCapability as IntoBoundedStatic>::Static
Convert an owned
T
into an owned T
such that T: 'static
.source§impl PartialEq<LiteralCapability> for LiteralCapability
impl PartialEq<LiteralCapability> for LiteralCapability
source§fn eq(&self, other: &LiteralCapability) -> bool
fn eq(&self, other: &LiteralCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LiteralCapability
impl Serialize for LiteralCapability
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 ToBoundedStatic for LiteralCapability
impl ToBoundedStatic for LiteralCapability
§type Static = LiteralCapability
type Static = LiteralCapability
The target type is bounded by the
'static
lifetime.source§fn to_static(&self) -> <LiteralCapability as ToBoundedStatic>::Static
fn to_static(&self) -> <LiteralCapability as ToBoundedStatic>::Static
Convert an
&T
to an owned T
such that T: 'static
.impl Eq for LiteralCapability
impl StructuralEq for LiteralCapability
impl StructuralPartialEq for LiteralCapability
Auto Trait Implementations§
impl RefUnwindSafe for LiteralCapability
impl Send for LiteralCapability
impl Sync for LiteralCapability
impl Unpin for LiteralCapability
impl UnwindSafe for LiteralCapability
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