Trait serialize::UseSpecializedDecodable [−][src]
pub trait UseSpecializedDecodable: Sized { fn default_decode<D: Decoder>(_: &mut D) -> Result<Self, D::Error> { ... } }
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>
Defaults to returning an error (see SpecializationError
).
Implementations on Foreign Types
impl<T: Decodable> UseSpecializedDecodable for Box<T>
[src]
impl<T: Decodable> UseSpecializedDecodable for Box<T>