Trait diny_core::backend::FormatDeserialize[][src]

pub trait FormatDeserialize: FormatDecode {
Show 28 associated items type DeserializeUnit: Future<Output = Result<(), Self::Error>> + Unpin; type DeserializeBool: Future<Output = Result<bool, Self::Error>> + Unpin; type DeserializeI8: Future<Output = Result<i8, Self::Error>> + Unpin; type DeserializeI16: Future<Output = Result<i16, Self::Error>> + Unpin; type DeserializeI32: Future<Output = Result<i32, Self::Error>> + Unpin; type DeserializeI64: Future<Output = Result<i64, Self::Error>> + Unpin; type DeserializeI128: Future<Output = Result<i128, Self::Error>> + Unpin; type DeserializeU8: Future<Output = Result<u8, Self::Error>> + Unpin; type DeserializeU16: Future<Output = Result<u16, Self::Error>> + Unpin; type DeserializeU32: Future<Output = Result<u32, Self::Error>> + Unpin; type DeserializeU64: Future<Output = Result<u64, Self::Error>> + Unpin; type DeserializeU128: Future<Output = Result<u128, Self::Error>> + Unpin; type DeserializeVariantIdx: Future<Output = Result<VariantIdx, Self::Error>> + Unpin; type DeserializeSequenceLen: Future<Output = Result<SequenceLen, Self::Error>> + Unpin; fn deserialize_unit<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeUnit
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_bool<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeBool
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_i8<'r, R>(&'r self, reader: &'r mut R) -> Self::DeserializeI8
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_i16<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeI16
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_i32<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeI32
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_i64<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeI64
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_i128<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeI128
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_u8<'r, R>(&'r self, reader: &'r mut R) -> Self::DeserializeU8
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_u16<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeU16
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_u32<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeU32
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_u64<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeU64
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_u128<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeU128
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_variant_idx<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeVariantIdx
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
fn deserialize_sequence_len<'r, R>(
        &'r self,
        reader: &'r mut R
    ) -> Self::DeserializeSequenceLen
    where
        R: AsyncRead + AsyncBufRead + Unpin
;
}
Expand description

Define the primitive deserialization methods and the concrete futures they return.

Associated Types

Required methods

Implementors