Trait fbthrift_git::binary_type::BinaryType
source · 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.