Trait CompactThriftInput
Source pub trait CompactThriftInput<'i> {
// Required methods
fn read_byte(&mut self) -> Result<u8, ThriftError>;
fn read_double(&mut self) -> Result<f64, ThriftError>;
fn read_binary(&mut self) -> Result<Cow<'i, [u8]>, ThriftError>;
// Provided methods
fn read_len(&mut self) -> Result<usize, ThriftError> { ... }
fn read_i16(&mut self) -> Result<i16, ThriftError> { ... }
fn read_i32(&mut self) -> Result<i32, ThriftError> { ... }
fn read_i64(&mut self) -> Result<i64, ThriftError> { ... }
fn read_string(&mut self) -> Result<Cow<'i, str>, ThriftError> { ... }
fn skip_integer(&mut self) -> Result<(), ThriftError> { ... }
fn skip_binary(&mut self) -> Result<(), ThriftError> { ... }
fn skip_field(&mut self, field_type: u8) -> Result<(), ThriftError> { ... }
fn read_field_header(
&mut self,
last_field_id: &mut i16,
) -> Result<u8, ThriftError> { ... }
}