pub trait BinaryType: Sized {
    fn with_capacity(capacity: usize) -> Self;
    fn extend_from_slice(&mut self, other: &[u8]);

    fn from_vec(vec: Vec<u8>) -> Self { ... }
}
Expand description

Trait implemented on types that can be used as binary types in thrift. These types copy data from the Thrift buffer.

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§