Trait thrift_codec::BinaryDecode
source · pub trait BinaryDecode: Sized {
// Required method
fn binary_decode<R: Read>(reader: &mut R) -> Result<Self>;
}
Expand description
This trait allows to decode objects which encoded by the Thrift Binary protocol encoding.
Required Methods§
sourcefn binary_decode<R: Read>(reader: &mut R) -> Result<Self>
fn binary_decode<R: Read>(reader: &mut R) -> Result<Self>
Decodes an object.
Object Safety§
This trait is not object safe.