[][src]Trait serde_state::de::DeserializeState

pub trait DeserializeState<'de, Seed: ?Sized>: Sized {
    fn deserialize_state<D>(
        seed: &mut Seed,
        deserializer: D
    ) -> Result<Self, D::Error>
    where
        D: Deserializer<'de>
; }

DeserializeState is a trait which specifies how to deserialize a type which requires extra state to deserialize

Required Methods

Deserializes Self using seed and the deserializer

Implementations on Foreign Types

impl<'de, S> DeserializeState<'de, S> for u8
[src]

impl<'de, S> DeserializeState<'de, S> for u16
[src]

impl<'de, S> DeserializeState<'de, S> for u32
[src]

impl<'de, S> DeserializeState<'de, S> for u64
[src]

impl<'de, S> DeserializeState<'de, S> for usize
[src]

impl<'de, S> DeserializeState<'de, S> for i8
[src]

impl<'de, S> DeserializeState<'de, S> for i16
[src]

impl<'de, S> DeserializeState<'de, S> for i32
[src]

impl<'de, S> DeserializeState<'de, S> for i64
[src]

impl<'de, S> DeserializeState<'de, S> for isize
[src]

impl<'de, S> DeserializeState<'de, S> for f32
[src]

impl<'de, S> DeserializeState<'de, S> for f64
[src]

impl<'de, S> DeserializeState<'de, S> for ()
[src]

impl<'de, S> DeserializeState<'de, S> for bool
[src]

impl<'de, S> DeserializeState<'de, S> for String
[src]

impl<'de, T, S> DeserializeState<'de, S> for Option<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, T, S> DeserializeState<'de, S> for PhantomData<T>
[src]

impl<'de, Seed: ?Sized, T> DeserializeState<'de, Seed> for BinaryHeap<T> where
    T: DeserializeState<'de, Seed> + Ord
[src]

impl<'de, Seed: ?Sized, T> DeserializeState<'de, Seed> for BTreeSet<T> where
    T: DeserializeState<'de, Seed> + Eq + Ord
[src]

impl<'de, Seed: ?Sized, T> DeserializeState<'de, Seed> for LinkedList<T> where
    T: DeserializeState<'de, Seed>, 
[src]

impl<'de, Seed: ?Sized, T, S> DeserializeState<'de, Seed> for HashSet<T, S> where
    T: DeserializeState<'de, Seed> + Eq + Hash,
    S: BuildHasher + Default
[src]

impl<'de, Seed: ?Sized, T> DeserializeState<'de, Seed> for Vec<T> where
    T: DeserializeState<'de, Seed>, 
[src]

impl<'de, Seed: ?Sized, T> DeserializeState<'de, Seed> for VecDeque<T> where
    T: DeserializeState<'de, Seed>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 0]
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 1] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 2] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 3] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 4] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 5] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 6] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 7] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 8] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 9] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 10] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 11] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 12] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 13] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 14] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 15] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 16] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 17] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 18] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 19] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 20] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 21] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 22] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 23] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 24] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 25] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 26] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 27] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 28] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 29] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 30] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 31] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for [T; 32] where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T0: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0,)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>, T11: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>, T11: DeserializeState<'de, S>, T12: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>, T11: DeserializeState<'de, S>, T12: DeserializeState<'de, S>, T13: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>, T11: DeserializeState<'de, S>, T12: DeserializeState<'de, S>, T13: DeserializeState<'de, S>, T14: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
[src]

impl<'de, S, T0: DeserializeState<'de, S>, T1: DeserializeState<'de, S>, T2: DeserializeState<'de, S>, T3: DeserializeState<'de, S>, T4: DeserializeState<'de, S>, T5: DeserializeState<'de, S>, T6: DeserializeState<'de, S>, T7: DeserializeState<'de, S>, T8: DeserializeState<'de, S>, T9: DeserializeState<'de, S>, T10: DeserializeState<'de, S>, T11: DeserializeState<'de, S>, T12: DeserializeState<'de, S>, T13: DeserializeState<'de, S>, T14: DeserializeState<'de, S>, T15: DeserializeState<'de, S>> DeserializeState<'de, S> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
[src]

impl<'de, S2, K, V> DeserializeState<'de, S2> for BTreeMap<K, V> where
    K: DeserializeState<'de, S2> + Ord,
    V: DeserializeState<'de, S2>, 
[src]

impl<'de, S2, K, V, S> DeserializeState<'de, S2> for HashMap<K, V, S> where
    K: DeserializeState<'de, S2> + Eq + Hash,
    V: DeserializeState<'de, S2>,
    S: BuildHasher + Default
[src]

impl<'de, S, T> DeserializeState<'de, S> for Box<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for Box<[T]> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for Arc<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for Rc<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, 'a, S, T: ?Sized> DeserializeState<'de, S> for Cow<'a, T> where
    T: ToOwned,
    T::Owned: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for Cell<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for RefCell<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for Mutex<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, T> DeserializeState<'de, S> for RwLock<T> where
    T: DeserializeState<'de, S>, 
[src]

impl<'de, S, Idx> DeserializeState<'de, S> for Range<Idx> where
    Idx: DeserializeState<'de, S>, 
[src]

impl<'de, S, T, E> DeserializeState<'de, S> for Result<T, E> where
    T: DeserializeState<'de, S>,
    E: DeserializeState<'de, S>, 
[src]

Implementors