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)

deprecated in favor of rustc-serialize on crates.io

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)

deprecated in favor of rustc-serialize on crates.io

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

Implementors