[][src]Trait serialize::serialize::Decodable

pub trait Decodable: Sized {
    fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Required methods

fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementations on Foreign Types

impl Decodable for usize[src]

impl Decodable for u8[src]

impl Decodable for u16[src]

impl Decodable for u32[src]

impl Decodable for NonZeroU32[src]

impl Decodable for u64[src]

impl Decodable for u128[src]

impl Decodable for isize[src]

impl Decodable for i8[src]

impl Decodable for i16[src]

impl Decodable for i32[src]

impl Decodable for i64[src]

impl Decodable for i128[src]

impl Decodable for String[src]

impl Decodable for f32[src]

impl Decodable for f64[src]

impl Decodable for bool[src]

impl Decodable for char[src]

impl Decodable for ()[src]

impl<T> Decodable for PhantomData<T>[src]

impl<T: Decodable> Decodable for Box<T>[src]

impl<T: Decodable> Decodable for Box<[T]>[src]

impl<T: Decodable> Decodable for Rc<T>[src]

impl<T: Decodable> Decodable for Vec<T>[src]

impl<T: Decodable + ToOwned> Decodable for Cow<'static, [T]> where
    [T]: ToOwned<Owned = Vec<T>>, 
[src]

impl<T: Decodable> Decodable for Option<T>[src]

impl<T1: Decodable, T2: Decodable> Decodable for Result<T1, T2>[src]

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)[src]

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)[src]

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)[src]

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)[src]

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)[src]

impl<T5: Decodable, T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T5, T6, T7, T8, T9, T10, T11)[src]

impl<T6: Decodable, T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T6, T7, T8, T9, T10, T11)[src]

impl<T7: Decodable, T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T7, T8, T9, T10, T11)[src]

impl<T8: Decodable, T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T8, T9, T10, T11)[src]

impl<T9: Decodable, T10: Decodable, T11: Decodable> Decodable for (T9, T10, T11)[src]

impl<T10: Decodable, T11: Decodable> Decodable for (T10, T11)[src]

impl<T11: Decodable> Decodable for (T11,)[src]

impl Decodable for PathBuf[src]

impl<T: Decodable + Copy> Decodable for Cell<T>[src]

impl<T: Decodable> Decodable for RefCell<T>[src]

impl<T: Decodable> Decodable for Arc<T>[src]

impl<A: Array<Item: Decodable>> Decodable for SmallVec<A>[src]

impl<T: Decodable> Decodable for LinkedList<T>[src]

impl<T: Decodable> Decodable for VecDeque<T>[src]

impl<K, V> Decodable for BTreeMap<K, V> where
    K: Decodable + PartialEq + Ord,
    V: Decodable
[src]

impl<T> Decodable for BTreeSet<T> where
    T: Decodable + PartialEq + Ord
[src]

impl<K, V, S> Decodable for HashMap<K, V, S> where
    K: Decodable + Hash + Eq,
    V: Decodable,
    S: BuildHasher + Default
[src]

impl<T, S> Decodable for HashSet<T, S> where
    T: Decodable + Hash + Eq,
    S: BuildHasher + Default
[src]

impl<K, V, S> Decodable for IndexMap<K, V, S> where
    K: Decodable + Hash + Eq,
    V: Decodable,
    S: BuildHasher + Default
[src]

impl<T, S> Decodable for IndexSet<T, S> where
    T: Decodable + Hash + Eq,
    S: BuildHasher + Default
[src]

impl<T: Decodable> Decodable for Rc<[T]>[src]

impl<T: Decodable> Decodable for Arc<[T]>[src]

Loading content...

Implementors

impl<T: UseSpecializedDecodable> Decodable for T[src]

Loading content...