Trait serialize::UseSpecializedDecodable
[−]
[src]
pub trait UseSpecializedDecodable: Sized {
fn default_decode<D: Decoder>(_: &mut D) -> Result<Self, D::Error> { ... }
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Implement this trait on your type to get an Decodable
implementation which goes through SpecializedDecoder.
Provided Methods
fn default_decode<D: Decoder>(_: &mut D) -> Result<Self, D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Defaults to returning an error (see SpecializationError).