Trait httlib_protos::decoder::FromDecoderLit [−][src]
pub trait FromDecoderLit {
fn from_decoder_lit(lit: DecoderLit) -> Result<Self, DecoderError>
where
Self: Sized;
}Expand description
Provides implementation interface for Rust data types to support conversion
to DecoderLit instance.
Required methods
fn from_decoder_lit(lit: DecoderLit) -> Result<Self, DecoderError> where
Self: Sized,
fn from_decoder_lit(lit: DecoderLit) -> Result<Self, DecoderError> where
Self: Sized,
Creates a new instance from the DecoderLit instance.