Struct secp256k1_zkp::serde::de::value::MapDeserializer [−][src]
pub struct MapDeserializer<'de, I, E> where
I: Iterator,
<I as Iterator>::Item: Pair, { /* fields omitted */ }
A deserializer that iterates over a map.
Implementations
impl<'de, I, E> MapDeserializer<'de, I, E> where
I: Iterator,
<I as Iterator>::Item: Pair,
[src]
impl<'de, I, E> MapDeserializer<'de, I, E> where
I: Iterator,
<I as Iterator>::Item: Pair,
[src]pub fn new(iter: I) -> MapDeserializer<'de, I, E>
[src]
Construct a new MapDeserializer<I, E>
.
impl<'de, I, E> MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
[src]
impl<'de, I, E> MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
[src]Trait Implementations
impl<'de, I, E> Clone for MapDeserializer<'de, I, E> where
I: Iterator + Clone,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Clone,
[src]
impl<'de, I, E> Clone for MapDeserializer<'de, I, E> where
I: Iterator + Clone,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Clone,
[src]pub fn clone(&self) -> MapDeserializer<'de, I, E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de, I, E> Debug for MapDeserializer<'de, I, E> where
I: Iterator + Debug,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Debug,
[src]
impl<'de, I, E> Debug for MapDeserializer<'de, I, E> where
I: Iterator + Debug,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Debug,
[src]impl<'de, I, E> Deserializer<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]
impl<'de, I, E> Deserializer<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]type Error = E
The error type that can be returned if some error occurs during deserialization. Read more
pub fn deserialize_any<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_seq<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_tuple<V>(
self,
len: usize,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
len: usize,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_bool<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_i8<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_i16<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_i32<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_i64<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_u8<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_u16<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_u32<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_u64<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_f32<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_f64<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_char<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_str<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_string<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_bytes<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_byte_buf<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_option<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_unit<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
name: &'static str,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_newtype_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
name: &'static str,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_map<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_identifier<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn deserialize_ignored_any<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
[src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, <MapDeserializer<'de, I, E> as Deserializer<'de>>::Error> where
V: Visitor<'de>,
pub fn is_human_readable(&self) -> bool
[src]
impl<'de, I, E> MapAccess<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]
impl<'de, I, E> MapAccess<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]type Error = E
The error type that can be returned if some error occurs during deserialization. Read more
pub fn next_key_seed<T>(
&mut self,
seed: T
) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
[src]
&mut self,
seed: T
) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
pub fn next_value_seed<T>(
&mut self,
seed: T
) -> Result<<T as DeserializeSeed<'de>>::Value, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
[src]
&mut self,
seed: T
) -> Result<<T as DeserializeSeed<'de>>::Value, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
pub fn next_entry_seed<TK, TV>(
&mut self,
kseed: TK,
vseed: TV
) -> Result<Option<(<TK as DeserializeSeed<'de>>::Value, <TV as DeserializeSeed<'de>>::Value)>, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
TK: DeserializeSeed<'de>,
TV: DeserializeSeed<'de>,
[src]
&mut self,
kseed: TK,
vseed: TV
) -> Result<Option<(<TK as DeserializeSeed<'de>>::Value, <TV as DeserializeSeed<'de>>::Value)>, <MapDeserializer<'de, I, E> as MapAccess<'de>>::Error> where
TK: DeserializeSeed<'de>,
TV: DeserializeSeed<'de>,
pub fn size_hint(&self) -> Option<usize>
[src]
pub fn next_key<K>(&mut self) -> Result<Option<K>, Self::Error> where
K: Deserialize<'de>,
[src]
K: Deserialize<'de>,
pub fn next_value<V>(&mut self) -> Result<V, Self::Error> where
V: Deserialize<'de>,
[src]
V: Deserialize<'de>,
pub fn next_entry<K, V>(&mut self) -> Result<Option<(K, V)>, Self::Error> where
K: Deserialize<'de>,
V: Deserialize<'de>,
[src]
K: Deserialize<'de>,
V: Deserialize<'de>,
impl<'de, I, E> SeqAccess<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]
impl<'de, I, E> SeqAccess<'de> for MapDeserializer<'de, I, E> where
E: Error,
I: Iterator,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::First: IntoDeserializer<'de, E>,
<<I as Iterator>::Item as Pair>::Second: IntoDeserializer<'de, E>,
[src]type Error = E
The error type that can be returned if some error occurs during deserialization. Read more
pub fn next_element_seed<T>(
&mut self,
seed: T
) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, <MapDeserializer<'de, I, E> as SeqAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
[src]
&mut self,
seed: T
) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, <MapDeserializer<'de, I, E> as SeqAccess<'de>>::Error> where
T: DeserializeSeed<'de>,
pub fn size_hint(&self) -> Option<usize>
[src]
pub fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
Auto Trait Implementations
impl<'de, I, E> RefUnwindSafe for MapDeserializer<'de, I, E> where
E: RefUnwindSafe,
I: RefUnwindSafe,
<<I as Iterator>::Item as Pair>::Second: RefUnwindSafe,
impl<'de, I, E> RefUnwindSafe for MapDeserializer<'de, I, E> where
E: RefUnwindSafe,
I: RefUnwindSafe,
<<I as Iterator>::Item as Pair>::Second: RefUnwindSafe,
impl<'de, I, E> Send for MapDeserializer<'de, I, E> where
E: Send,
I: Send,
<<I as Iterator>::Item as Pair>::Second: Send,
impl<'de, I, E> Send for MapDeserializer<'de, I, E> where
E: Send,
I: Send,
<<I as Iterator>::Item as Pair>::Second: Send,
impl<'de, I, E> Sync for MapDeserializer<'de, I, E> where
E: Sync,
I: Sync,
<<I as Iterator>::Item as Pair>::Second: Sync,
impl<'de, I, E> Sync for MapDeserializer<'de, I, E> where
E: Sync,
I: Sync,
<<I as Iterator>::Item as Pair>::Second: Sync,
impl<'de, I, E> Unpin for MapDeserializer<'de, I, E> where
E: Unpin,
I: Unpin,
<<I as Iterator>::Item as Pair>::Second: Unpin,
impl<'de, I, E> Unpin for MapDeserializer<'de, I, E> where
E: Unpin,
I: Unpin,
<<I as Iterator>::Item as Pair>::Second: Unpin,
impl<'de, I, E> UnwindSafe for MapDeserializer<'de, I, E> where
E: UnwindSafe,
I: UnwindSafe,
<<I as Iterator>::Item as Pair>::Second: UnwindSafe,
impl<'de, I, E> UnwindSafe for MapDeserializer<'de, I, E> where
E: UnwindSafe,
I: UnwindSafe,
<<I as Iterator>::Item as Pair>::Second: UnwindSafe,