Struct serde_bencode::de::BencodeAccess [] [src]

pub struct BencodeAccess<'a, R: 'a + Read> { /* fields omitted */ }

Trait Implementations

impl<'de, 'a, R: 'a + Read> SeqAccess<'de> for BencodeAccess<'a, R>
[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

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<'de, 'a, R: 'a + Read> MapAccess<'de> for BencodeAccess<'a, R>
[src]

The error type that can be returned if some error occurs during deserialization. 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

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, 'a, R: 'a + Read> VariantAccess<'de> for BencodeAccess<'a, R>
[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 no values. Read more

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

Called when deserializing a tuple-like variant. Read more

Called when deserializing a struct-like variant. Read more

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

impl<'de, 'a, R: 'a + Read> EnumAccess<'de> for BencodeAccess<'a, R>
[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

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