Trait serialize::SpecializedDecoder [] [src]

pub trait SpecializedDecoder<T: UseSpecializedDecodable>: Decoder {
    fn specialized_decode(&mut self) -> Result<T, Self::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 decoders, with T being the type you want to decode (employing UseSpecializedDecodable), using a strategy specific to the decoder.

Required Methods

🔬 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?

Decode a value in a manner specific to this decoder state.

Implementors