Trait serialize::Decodable
[−]
[src]
pub trait Decodable: Sized { fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>; }
Unstable (
rustc_private
): deprecated in favor of rustc-serialize on crates.io
Required Methods
fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>
Unstable (
rustc_private
): deprecated in favor of rustc-serialize on crates.io
Implementors
impl Decodable for usize
impl Decodable for u8
impl Decodable for u16
impl Decodable for u32
impl Decodable for u64
impl Decodable for isize
impl Decodable for i8
impl Decodable for i16
impl Decodable for i32
impl Decodable for i64
impl Decodable for String
impl Decodable for f32
impl Decodable for f64
impl Decodable for bool
impl Decodable for char
impl Decodable for ()
impl<T: Decodable> Decodable for Box<T>
impl<T: Decodable> Decodable for Box<[T]>
impl<T: Decodable> Decodable for Rc<T>
impl<T: Decodable> Decodable for Vec<T>
impl<T: Decodable> Decodable for Option<T>
impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T4, T5, T6, T7, T8, T9, T10, T11)
impl<T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T5, T6, T7, T8, T9, T10, T11)
impl<T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T6, T7, T8, T9, T10, T11)
impl<T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T7, T8, T9, T10, T11)
impl<T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T8, T9, T10, T11)
impl<T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T9, T10, T11)
impl<T10: Decodable, T11: Decodable> Decodable for (T10, T11)
impl<T11: Decodable> Decodable for (T11,)
impl Decodable for PathBuf
impl<T: Decodable + Copy> Decodable for Cell<T>
impl<T: Decodable> Decodable for RefCell<T>
impl<T: Decodable + Send + Sync> Decodable for Arc<T>
impl<T: Decodable> Decodable for LinkedList<T>
impl<T: Decodable> Decodable for VecDeque<T>
impl<K: Decodable + PartialEq + Ord, V: Decodable + PartialEq> Decodable for BTreeMap<K, V>
impl<T: Decodable + PartialEq + Ord> Decodable for BTreeSet<T>
impl<T: Decodable + CLike> Decodable for EnumSet<T>
impl<K, V, S> Decodable for HashMap<K, V, S> where K: Decodable + Hash + Eq, V: Decodable, S: BuildHasher + Default
impl<T, S> Decodable for HashSet<T, S> where T: Decodable + Hash + Eq, S: BuildHasher + Default