Struct diny_core::backend::internal::VariantIdx [−][src]
#[repr(transparent)]pub struct VariantIdx(_);
Implementations
Trait Implementations
type Future = F::DeserializeVariantIdx
type Future = F::DeserializeVariantIdx
The concrete future returned by the deserialize
method.
fn deserialize<'r, F, R>(format: &'r F, reader: &'r mut R) -> Self::Future where
F: FormatDeserialize,
R: AsyncBufRead + Unpin,
fn deserialize<'r, F, R>(format: &'r F, reader: &'r mut R) -> Self::Future where
F: FormatDeserialize,
R: AsyncBufRead + Unpin,
Attempt to deserialize the type asynchronously for the indicated format via the provided asynchronous reader. Read more
type Future = F::SerializeVariantIdx
type Future = F::SerializeVariantIdx
The concrete future returned by the serialize
method.
fn serialize<'w, F, W>(
&'w self,
format: &'w F,
writer: &'w mut W
) -> Self::Future where
F: FormatSerialize,
W: AsyncWrite + Unpin,
fn serialize<'w, F, W>(
&'w self,
format: &'w F,
writer: &'w mut W
) -> Self::Future where
F: FormatSerialize,
W: AsyncWrite + Unpin,
Attempt to serialize the type asynchronously for the indicated format via the provided asynchronous writer. Read more
type Decoder = F::DecodeVariantIdx
type Decoder = F::DecodeVariantIdx
The concrete decoder to use for deserialization
Returns the “default value” for a type. Read more
type Encoder = F::EncodeVariantIdx
type Encoder = F::EncodeVariantIdx
The concrete encoder to use for serialization
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for VariantIdx
impl Send for VariantIdx
impl Sync for VariantIdx
impl Unpin for VariantIdx
impl UnwindSafe for VariantIdx
Blanket Implementations
Mutably borrows from an owned value. Read more