[][src]Trait serialize::SpecializedDecoder

pub trait SpecializedDecoder<T: UseSpecializedDecodable>: Decoder {
    fn specialized_decode(&mut self) -> Result<T, Self::Error>;
}

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

fn specialized_decode(&mut self) -> Result<T, Self::Error>

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

Loading content...

Implementors

impl<D: Decoder, T: UseSpecializedDecodable> SpecializedDecoder<T> for D[src]

Loading content...