pub struct TAsyncBinaryProtocol<R> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<R> TAsyncInputProtocol for TAsyncBinaryProtocol<R>
impl<R> TAsyncInputProtocol for TAsyncBinaryProtocol<R>
Source§async fn read_message_begin(
&mut self,
) -> Result<TMessageIdentifier, ThriftException>
async fn read_message_begin( &mut self, ) -> Result<TMessageIdentifier, ThriftException>
Read the beginning of a Thrift message.
Source§async fn read_message_end(&mut self) -> Result<(), ThriftException>
async fn read_message_end(&mut self) -> Result<(), ThriftException>
Read the end of a Thrift message.
Source§async fn read_struct_begin(
&mut self,
) -> Result<Option<TStructIdentifier>, ThriftException>
async fn read_struct_begin( &mut self, ) -> Result<Option<TStructIdentifier>, ThriftException>
Read the beginning of a Thrift struct.
Source§async fn read_struct_end(&mut self) -> Result<(), ThriftException>
async fn read_struct_end(&mut self) -> Result<(), ThriftException>
Read the end of a Thrift struct.
Source§async fn read_field_begin(
&mut self,
) -> Result<TFieldIdentifier, ThriftException>
async fn read_field_begin( &mut self, ) -> Result<TFieldIdentifier, ThriftException>
Read the beginning of a Thrift struct field.
Source§async fn read_field_end(&mut self) -> Result<(), ThriftException>
async fn read_field_end(&mut self) -> Result<(), ThriftException>
Read the end of a Thrift struct field.
Source§async fn read_bytes(&mut self) -> Result<Bytes, ThriftException>
async fn read_bytes(&mut self) -> Result<Bytes, ThriftException>
Read a binary.
Source§async fn read_bytes_vec(&mut self) -> Result<Vec<u8>, ThriftException>
async fn read_bytes_vec(&mut self) -> Result<Vec<u8>, ThriftException>
Read a binary, return
Vec<u8>Source§async fn read_string(&mut self) -> Result<String, ThriftException>
async fn read_string(&mut self) -> Result<String, ThriftException>
Read a string.
Source§async fn read_faststr(&mut self) -> Result<FastStr, ThriftException>
async fn read_faststr(&mut self) -> Result<FastStr, ThriftException>
Read a string, return
FastStrSource§async fn read_double(&mut self) -> Result<f64, ThriftException>
async fn read_double(&mut self) -> Result<f64, ThriftException>
Read a 64-bit float.
Source§async fn read_list_begin(&mut self) -> Result<TListIdentifier, ThriftException>
async fn read_list_begin(&mut self) -> Result<TListIdentifier, ThriftException>
Read the beginning of a list.
Source§async fn read_list_end(&mut self) -> Result<(), ThriftException>
async fn read_list_end(&mut self) -> Result<(), ThriftException>
Read the end of a list.
Source§async fn read_set_begin(&mut self) -> Result<TSetIdentifier, ThriftException>
async fn read_set_begin(&mut self) -> Result<TSetIdentifier, ThriftException>
Read the beginning of a set.
Source§async fn read_set_end(&mut self) -> Result<(), ThriftException>
async fn read_set_end(&mut self) -> Result<(), ThriftException>
Read the end of a set.
Source§async fn read_map_begin(&mut self) -> Result<TMapIdentifier, ThriftException>
async fn read_map_begin(&mut self) -> Result<TMapIdentifier, ThriftException>
Read the beginning of a map.
Source§async fn read_map_end(&mut self) -> Result<(), ThriftException>
async fn read_map_end(&mut self) -> Result<(), ThriftException>
Read the end of a map.
Auto Trait Implementations§
impl<R> Freeze for TAsyncBinaryProtocol<R>where
R: Freeze,
impl<R> RefUnwindSafe for TAsyncBinaryProtocol<R>where
R: RefUnwindSafe,
impl<R> Send for TAsyncBinaryProtocol<R>where
R: Send,
impl<R> Sync for TAsyncBinaryProtocol<R>where
R: Sync,
impl<R> Unpin for TAsyncBinaryProtocol<R>where
R: Unpin,
impl<R> UnsafeUnpin for TAsyncBinaryProtocol<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for TAsyncBinaryProtocol<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more