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

Encodes an object.

Implementations on Foreign Types

impl BinaryEncode for bool
[src]

[src]

impl BinaryEncode for i8
[src]

[src]

impl BinaryEncode for i16
[src]

[src]

impl BinaryEncode for i32
[src]

[src]

impl BinaryEncode for i64
[src]

[src]

impl BinaryEncode for f64
[src]

[src]

impl<'a> BinaryEncode for &'a [u8]
[src]

[src]

Implementors