#[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§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. 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>
Source§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 for CapabilityEnable<'a>
impl<'a> PartialEq for CapabilityEnable<'a>
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> StructuralPartialEq for CapabilityEnable<'a>
Auto Trait Implementations§
impl<'a> Freeze for CapabilityEnable<'a>
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