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 for () where E: Error
impl<E> ValueDeserializer for bool where E: Error
impl<E> ValueDeserializer for i8 where E: Error
impl<E> ValueDeserializer for i16 where E: Error
impl<E> ValueDeserializer for i32 where E: Error
impl<E> ValueDeserializer for i64 where E: Error
impl<E> ValueDeserializer for isize where E: Error
impl<E> ValueDeserializer for u8 where E: Error
impl<E> ValueDeserializer for u16 where E: Error
impl<E> ValueDeserializer for u32 where E: Error
impl<E> ValueDeserializer for u64 where E: Error
impl<E> ValueDeserializer for usize where E: Error
impl<E> ValueDeserializer for f32 where E: Error
impl<E> ValueDeserializer for f64 where E: Error
impl<E> ValueDeserializer for char where E: Error
impl<'a, E> ValueDeserializer for &'a str where E: Error
impl<E> ValueDeserializer for String where E: Error
impl<T, E> ValueDeserializer for Vec<T> where T: ValueDeserializer<E>, E: Error
impl<T, E> ValueDeserializer for BTreeSet<T> where T: ValueDeserializer<E> + Eq + Ord, E: Error
impl<T, E> ValueDeserializer for HashSet<T> where T: ValueDeserializer<E> + Eq + Hash, E: Error
impl<K, V, E> ValueDeserializer for BTreeMap<K, V> where K: ValueDeserializer<E> + Eq + Ord, V: ValueDeserializer<E>, E: Error
impl<K, V, E> ValueDeserializer for HashMap<K, V> where K: ValueDeserializer<E> + Eq + Hash, V: ValueDeserializer<E>, E: Error
impl<'a, E> ValueDeserializer for Bytes<'a> where E: Error
impl<E> ValueDeserializer for ByteBuf where E: Error