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)
deprecated in favor of rustc-serialize on crates.io
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)
deprecated in favor of rustc-serialize on crates.io
Defaults to returning an error (see SpecializationError).