Trait probor::Decodable [] [src]

pub trait Decodable: Sized {
    fn decode_opt<R: Input>(d: &mut Decoder<R>) -> Result<Option<Self>, DecodeError>;
}

Required Methods

Decode an object or null

This must be optional return so that any value may become optional and we can't determine it in advance

Implementors