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