[][src]Struct tirse::BinaryDeserializer

pub struct BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector
{ /* fields omitted */ }

Methods

impl<'de, R, E, H, D> BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector
[src]

Trait Implementations

impl<'de, R, E, H, D> SeqAccess<'de> for BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector + Display + Debug
[src]

The error type that can be returned if some error occurs during deserialization. Read more

This returns Ok(Some(value)) for the next value in the sequence, or Ok(None) if there are no more remaining items. Read more

Returns the number of elements remaining in the sequence, if known.

impl<'a, 'de, R, E, H, D> Deserializer<'de> for BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector + Display + Debug
[src]

The error type that can be returned if some error occurs during deserialization. Read more

Hint that the Deserialize type is expecting an i128 value. Read more

Hint that the Deserialize type is expecting an u128 value. Read more

impl<'de, R, E, H, D> MapAccess<'de> for BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector + Display + Debug
[src]

The error type that can be returned if some error occurs during deserialization. Read more

This returns Ok(Some((key, value))) for the next (key-value) pair in the map, or Ok(None) if there are no more remaining items. Read more

This returns Ok(Some(key)) for the next key in the map, or Ok(None) if there are no more remaining entries. Read more

This returns a Ok(value) for the next value in the map. Read more

This returns Ok(Some((key, value))) for the next (key-value) pair in the map, or Ok(None) if there are no more remaining items. Read more

Returns the number of entries remaining in the map, if known.

impl<'de, R, E, H, D> VariantAccess<'de> for BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector + Display + Debug
[src]

The error type that can be returned if some error occurs during deserialization. Must match the error type of our EnumAccess. Read more

Called when deserializing a variant with a single value. Read more

impl<'de, R, E, H, D> EnumAccess<'de> for BinaryDeserializer<'de, R, E, H, D> where
    R: Read<'de>,
    E: ByteOrder + 'de,
    H: BinaryDeserializerDelegate,
    D: DisplayCollector + Display + Debug
[src]

The error type that can be returned if some error occurs during deserialization. Read more

The Visitor that will be used to deserialize the content of the enum variant. Read more

variant is called to identify which variant to deserialize. Read more

Auto Trait Implementations

impl<'de, R, E, H, D> Send for BinaryDeserializer<'de, R, E, H, D> where
    D: Send,
    E: Send,
    H: Send,
    R: Send

impl<'de, R, E, H, D> Sync for BinaryDeserializer<'de, R, E, H, D> where
    D: Sync,
    E: Sync,
    H: Sync,
    R: Sync

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]