[][src]Trait serde_state::ser::SerializeState

pub trait SerializeState<Seed: ?Sized> {
    fn serialize_state<S>(
        &self,
        serializer: S,
        seed: &Seed
    ) -> Result<S::Ok, S::Error>
    where
        S: Serializer
; }

Placeholder

Required methods

fn serialize_state<S>(
    &self,
    serializer: S,
    seed: &Seed
) -> Result<S::Ok, S::Error> where
    S: Serializer

Placeholder

Loading content...

Implementations on Foreign Types

impl<Seed: ?Sized> SerializeState<Seed> for u8[src]

impl<Seed: ?Sized> SerializeState<Seed> for u16[src]

impl<Seed: ?Sized> SerializeState<Seed> for u32[src]

impl<Seed: ?Sized> SerializeState<Seed> for u64[src]

impl<Seed: ?Sized> SerializeState<Seed> for usize[src]

impl<Seed: ?Sized> SerializeState<Seed> for i8[src]

impl<Seed: ?Sized> SerializeState<Seed> for i16[src]

impl<Seed: ?Sized> SerializeState<Seed> for i32[src]

impl<Seed: ?Sized> SerializeState<Seed> for i64[src]

impl<Seed: ?Sized> SerializeState<Seed> for isize[src]

impl<Seed: ?Sized> SerializeState<Seed> for f32[src]

impl<Seed: ?Sized> SerializeState<Seed> for f64[src]

impl<Seed: ?Sized> SerializeState<Seed> for ()[src]

impl<Seed: ?Sized> SerializeState<Seed> for bool[src]

impl<Seed: ?Sized> SerializeState<Seed> for String[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for Option<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 1] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 2] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 3] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 4] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 5] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 6] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 7] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 8] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 9] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 10] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 11] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 12] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 13] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 14] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 15] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 16] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 17] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 18] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 19] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 20] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 21] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 22] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 23] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 24] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 25] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 26] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 27] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 28] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 29] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 30] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 31] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T; 32] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for [T] where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed> SerializeState<Seed> for BinaryHeap<T> where
    T: SerializeState<Seed> + Ord
[src]

impl<T, Seed> SerializeState<Seed> for BTreeSet<T> where
    T: SerializeState<Seed> + Ord
[src]

impl<T, Seed, H> SerializeState<Seed> for HashSet<T, H> where
    T: SerializeState<Seed> + Eq + Hash,
    H: BuildHasher
[src]

impl<T, Seed> SerializeState<Seed> for LinkedList<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed> SerializeState<Seed> for Vec<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed> SerializeState<Seed> for VecDeque<T> where
    T: SerializeState<Seed>, 
[src]

impl<Idx, Seed> SerializeState<Seed> for Range<Idx> where
    Idx: SerializeState<Seed>, 
[src]

impl<Seed, T0> SerializeState<Seed> for (T0,) where
    T0: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1> SerializeState<Seed> for (T0, T1) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2> SerializeState<Seed> for (T0, T1, T2) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3> SerializeState<Seed> for (T0, T1, T2, T3) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4> SerializeState<Seed> for (T0, T1, T2, T3, T4) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>,
    T11: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>,
    T11: SerializeState<Seed>,
    T12: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>,
    T11: SerializeState<Seed>,
    T12: SerializeState<Seed>,
    T13: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>,
    T11: SerializeState<Seed>,
    T12: SerializeState<Seed>,
    T13: SerializeState<Seed>,
    T14: SerializeState<Seed>, 
[src]

impl<Seed, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> SerializeState<Seed> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
    T0: SerializeState<Seed>,
    T1: SerializeState<Seed>,
    T2: SerializeState<Seed>,
    T3: SerializeState<Seed>,
    T4: SerializeState<Seed>,
    T5: SerializeState<Seed>,
    T6: SerializeState<Seed>,
    T7: SerializeState<Seed>,
    T8: SerializeState<Seed>,
    T9: SerializeState<Seed>,
    T10: SerializeState<Seed>,
    T11: SerializeState<Seed>,
    T12: SerializeState<Seed>,
    T13: SerializeState<Seed>,
    T14: SerializeState<Seed>,
    T15: SerializeState<Seed>, 
[src]

impl<K, V, Seed> SerializeState<Seed> for BTreeMap<K, V> where
    K: SerializeState<Seed> + Ord,
    V: SerializeState<Seed>, 
[src]

impl<K, V, Seed, H> SerializeState<Seed> for HashMap<K, V, H> where
    K: SerializeState<Seed> + Eq + Hash,
    V: SerializeState<Seed>,
    H: BuildHasher
[src]

impl<'a, Seed: ?Sized, T: ?Sized> SerializeState<Seed> for &'a T where
    T: SerializeState<Seed>, 
[src]

impl<'a, Seed: ?Sized, T: ?Sized> SerializeState<Seed> for &'a mut T where
    T: SerializeState<Seed>, 
[src]

impl<Seed: ?Sized, T: ?Sized> SerializeState<Seed> for Box<T> where
    T: SerializeState<Seed>, 
[src]

impl<Seed: ?Sized, T> SerializeState<Seed> for Rc<T> where
    T: SerializeState<Seed>, 
[src]

impl<Seed: ?Sized, T> SerializeState<Seed> for Arc<T> where
    T: SerializeState<Seed>, 
[src]

impl<'a, Seed: ?Sized, T: ?Sized> SerializeState<Seed> for Cow<'a, T> where
    T: SerializeState<Seed> + ToOwned
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for Cell<T> where
    T: SerializeState<Seed> + Copy
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for RefCell<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for Mutex<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, Seed: ?Sized> SerializeState<Seed> for RwLock<T> where
    T: SerializeState<Seed>, 
[src]

impl<T, E, Seed> SerializeState<Seed> for Result<T, E> where
    T: SerializeState<Seed>,
    E: SerializeState<Seed>, 
[src]

Loading content...

Implementors

impl<T, Seed: ?Sized> SerializeState<Seed> for Unseeded<T> where
    T: Serialize
[src]

Loading content...