Trait serde::de::value::ValueDeserializer
[−]
[src]
pub trait ValueDeserializer<E: Error = Error> { type Deserializer: Deserializer<Error = E>; fn into_deserializer(self) -> Self::Deserializer; }
This trait converts primitive types into a deserializer.
Associated Types
type Deserializer: Deserializer<Error = E>
The actual deserializer type.
Required Methods
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
Implementors
impl<E> ValueDeserializer<E> for () where
E: Error,impl<E> ValueDeserializer<E> for bool where
E: Error,impl<E> ValueDeserializer<E> for i8 where
E: Error,impl<E> ValueDeserializer<E> for i16 where
E: Error,impl<E> ValueDeserializer<E> for i32 where
E: Error,impl<E> ValueDeserializer<E> for i64 where
E: Error,impl<E> ValueDeserializer<E> for isize where
E: Error,impl<E> ValueDeserializer<E> for u8 where
E: Error,impl<E> ValueDeserializer<E> for u16 where
E: Error,impl<E> ValueDeserializer<E> for u64 where
E: Error,impl<E> ValueDeserializer<E> for usize where
E: Error,impl<E> ValueDeserializer<E> for f32 where
E: Error,impl<E> ValueDeserializer<E> for f64 where
E: Error,impl<E> ValueDeserializer<E> for char where
E: Error,impl<E> ValueDeserializer<E> for u32 where
E: Error,impl<'a, E> ValueDeserializer<E> for &'a str where
E: Error,impl<E> ValueDeserializer<E> for String where
E: Error,impl<'a, E> ValueDeserializer<E> for Cow<'a, str> where
E: Error,impl<T, E> ValueDeserializer<E> for Vec<T> where
T: ValueDeserializer<E>,
E: Error,impl<T, E> ValueDeserializer<E> for BTreeSet<T> where
T: ValueDeserializer<E> + Eq + Ord,
E: Error,impl<T, E> ValueDeserializer<E> for HashSet<T> where
T: ValueDeserializer<E> + Eq + Hash,
E: Error,impl<K, V, E> ValueDeserializer<E> for BTreeMap<K, V> where
K: ValueDeserializer<E> + Eq + Ord,
V: ValueDeserializer<E>,
E: Error,impl<K, V, E> ValueDeserializer<E> for HashMap<K, V> where
K: ValueDeserializer<E> + Eq + Hash,
V: ValueDeserializer<E>,
E: Error,impl<'a, E> ValueDeserializer<E> for Bytes<'a> where
E: Error,impl<E> ValueDeserializer<E> for ByteBuf where
E: Error,