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.
Implementations on Foreign Types
impl ValueDeserializer for ()
[src]
impl ValueDeserializer for ()
type Deserializer = UnitDeserializer
fn into_deserializer(self) -> UnitDeserializer
[src]
fn into_deserializer(self) -> UnitDeserializer
impl ValueDeserializer for bool
[src]
impl ValueDeserializer for bool
type Deserializer = BoolDeserializer
fn into_deserializer(self) -> BoolDeserializer
[src]
fn into_deserializer(self) -> BoolDeserializer
impl ValueDeserializer for i8
[src]
impl ValueDeserializer for i8
type Deserializer = I8Deserializer
fn into_deserializer(self) -> I8Deserializer
[src]
fn into_deserializer(self) -> I8Deserializer
impl ValueDeserializer for i16
[src]
impl ValueDeserializer for i16
type Deserializer = I16Deserializer
fn into_deserializer(self) -> I16Deserializer
[src]
fn into_deserializer(self) -> I16Deserializer
impl ValueDeserializer for i32
[src]
impl ValueDeserializer for i32
type Deserializer = I32Deserializer
fn into_deserializer(self) -> I32Deserializer
[src]
fn into_deserializer(self) -> I32Deserializer
impl ValueDeserializer for i64
[src]
impl ValueDeserializer for i64
type Deserializer = I64Deserializer
fn into_deserializer(self) -> I64Deserializer
[src]
fn into_deserializer(self) -> I64Deserializer
impl ValueDeserializer for isize
[src]
impl ValueDeserializer for isize
type Deserializer = IsizeDeserializer
fn into_deserializer(self) -> IsizeDeserializer
[src]
fn into_deserializer(self) -> IsizeDeserializer
impl ValueDeserializer for u8
[src]
impl ValueDeserializer for u8
type Deserializer = U8Deserializer
fn into_deserializer(self) -> U8Deserializer
[src]
fn into_deserializer(self) -> U8Deserializer
impl ValueDeserializer for u16
[src]
impl ValueDeserializer for u16
type Deserializer = U16Deserializer
fn into_deserializer(self) -> U16Deserializer
[src]
fn into_deserializer(self) -> U16Deserializer
impl ValueDeserializer for u32
[src]
impl ValueDeserializer for u32
type Deserializer = U32Deserializer
fn into_deserializer(self) -> U32Deserializer
[src]
fn into_deserializer(self) -> U32Deserializer
impl ValueDeserializer for u64
[src]
impl ValueDeserializer for u64
type Deserializer = U64Deserializer
fn into_deserializer(self) -> U64Deserializer
[src]
fn into_deserializer(self) -> U64Deserializer
impl ValueDeserializer for usize
[src]
impl ValueDeserializer for usize
type Deserializer = UsizeDeserializer
fn into_deserializer(self) -> UsizeDeserializer
[src]
fn into_deserializer(self) -> UsizeDeserializer
impl ValueDeserializer for f32
[src]
impl ValueDeserializer for f32
type Deserializer = F32Deserializer
fn into_deserializer(self) -> F32Deserializer
[src]
fn into_deserializer(self) -> F32Deserializer
impl ValueDeserializer for f64
[src]
impl ValueDeserializer for f64
type Deserializer = F64Deserializer
fn into_deserializer(self) -> F64Deserializer
[src]
fn into_deserializer(self) -> F64Deserializer
impl ValueDeserializer for char
[src]
impl ValueDeserializer for char
type Deserializer = CharDeserializer
fn into_deserializer(self) -> CharDeserializer
[src]
fn into_deserializer(self) -> CharDeserializer
impl<'a> ValueDeserializer for &'a str
[src]
impl<'a> ValueDeserializer for &'a str
type Deserializer = StrDeserializer<'a>
fn into_deserializer(self) -> StrDeserializer<'a>
[src]
fn into_deserializer(self) -> StrDeserializer<'a>
impl ValueDeserializer for String
[src]
impl ValueDeserializer for String
type Deserializer = StringDeserializer
fn into_deserializer(self) -> StringDeserializer
[src]
fn into_deserializer(self) -> StringDeserializer
impl<T> ValueDeserializer for Vec<T> where
T: ValueDeserializer,
[src]
impl<T> ValueDeserializer for Vec<T> where
T: ValueDeserializer,
type Deserializer = SeqDeserializer<IntoIter<T>>
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
[src]
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
impl<T> ValueDeserializer for BTreeSet<T> where
T: ValueDeserializer + Eq + Ord,
[src]
impl<T> ValueDeserializer for BTreeSet<T> where
T: ValueDeserializer + Eq + Ord,
type Deserializer = SeqDeserializer<IntoIter<T>>
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
[src]
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
impl<T> ValueDeserializer for HashSet<T> where
T: ValueDeserializer + Eq + Hash,
[src]
impl<T> ValueDeserializer for HashSet<T> where
T: ValueDeserializer + Eq + Hash,
type Deserializer = SeqDeserializer<IntoIter<T>>
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
[src]
fn into_deserializer(self) -> SeqDeserializer<IntoIter<T>>
impl<K, V> ValueDeserializer for BTreeMap<K, V> where
K: ValueDeserializer + Eq + Ord,
V: ValueDeserializer,
[src]
impl<K, V> ValueDeserializer for BTreeMap<K, V> where
K: ValueDeserializer + Eq + Ord,
V: ValueDeserializer,
type Deserializer = MapDeserializer<IntoIter<K, V>, K, V>
fn into_deserializer(self) -> MapDeserializer<IntoIter<K, V>, K, V>
[src]
fn into_deserializer(self) -> MapDeserializer<IntoIter<K, V>, K, V>
impl<K, V> ValueDeserializer for HashMap<K, V> where
K: ValueDeserializer + Eq + Hash,
V: ValueDeserializer,
[src]
impl<K, V> ValueDeserializer for HashMap<K, V> where
K: ValueDeserializer + Eq + Hash,
V: ValueDeserializer,
type Deserializer = MapDeserializer<IntoIter<K, V>, K, V>
fn into_deserializer(self) -> MapDeserializer<IntoIter<K, V>, K, V>
[src]
fn into_deserializer(self) -> MapDeserializer<IntoIter<K, V>, K, V>
Implementors
impl<'a> ValueDeserializer for Bytes<'a> type Deserializer = BytesDeserializer<'a>;
impl ValueDeserializer for ByteBuf type Deserializer = ByteBufDeserializer;