Trait thrift_codec::BinaryEncode
[−]
[src]
pub trait BinaryEncode { fn binary_encode<W: Write>(&self, writer: &mut W) -> Result<()>; }
This trait allows to encode objects to the binaries specified by the Thrift Binary protocol encoding.
Required Methods
fn binary_encode<W: Write>(&self, writer: &mut W) -> Result<()>
Encodes an object.