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