pub struct BinTable { /* private fields */ }
Trait Implementations§
source§impl<'a, R> DataAsyncBufRead<'a, BinTable> for BufReader<R>where
R: AsyncRead + Debug + 'a + Unpin,
impl<'a, R> DataAsyncBufRead<'a, BinTable> for BufReader<R>where R: AsyncRead + Debug + 'a + Unpin,
type Data = St<'a, BufReader<R>, u8>
fn new_data_block(&'a mut self, ctx: &BinTable) -> Self::Data
source§fn consume_data_block<'life0, 'async_trait>(
data: Self::Data,
num_bytes_read: &'life0 mut u64
) -> Pin<Box<dyn Future<Output = Result<&'a mut Self, Error>> + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn consume_data_block<'life0, 'async_trait>( data: Self::Data, num_bytes_read: &'life0 mut u64 ) -> Pin<Box<dyn Future<Output = Result<&'a mut Self, Error>> + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,
Consume the data to return back the reader at the position
of the end of the data block Read more
fn read_n_bytes_exact<'life0, 'async_trait>( &'life0 mut self, num_bytes_to_read: u64 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
source§impl<'a, R> DataBufRead<'a, BinTable> for BufReader<R>where
R: Read + Debug + 'a,
impl<'a, R> DataBufRead<'a, BinTable> for BufReader<R>where R: Read + Debug + 'a,
type Data = Iter<'a, BufReader<R>, u8>
fn new_data_block(&'a mut self, ctx: &BinTable) -> Self::Data
source§fn consume_data_block(
data: Self::Data,
num_bytes_read: &mut u64
) -> Result<&'a mut Self, Error>
fn consume_data_block( data: Self::Data, num_bytes_read: &mut u64 ) -> Result<&'a mut Self, Error>
Consume the data to return back the reader at the position
of the end of the data block Read more
fn read_n_bytes_exact(&mut self, num_bytes_to_read: u64) -> Result<(), Error>
source§impl<'a, R> DataBufRead<'a, BinTable> for Cursor<R>where
R: AsRef<[u8]> + Debug + Read + 'a,
impl<'a, R> DataBufRead<'a, BinTable> for Cursor<R>where R: AsRef<[u8]> + Debug + Read + 'a,
type Data = Data<'a, Cursor<R>>
fn new_data_block(&'a mut self, ctx: &BinTable) -> Self::Datawhere Self: Sized,
source§fn consume_data_block(
data: Self::Data,
num_bytes_read: &mut u64
) -> Result<&'a mut Self, Error>
fn consume_data_block( data: Self::Data, num_bytes_read: &mut u64 ) -> Result<&'a mut Self, Error>
Consume the data to return back the reader at the position
of the end of the data block Read more
fn read_n_bytes_exact(&mut self, num_bytes_to_read: u64) -> Result<(), Error>
source§impl PartialEq<BinTable> for BinTable
impl PartialEq<BinTable> for BinTable
source§impl Xtension for BinTable
impl Xtension for BinTable
fn get_num_bytes_data_block(&self) -> u64
fn update_with_parsed_header( &mut self, cards: &HashMap<[u8; 8], Value> ) -> Result<(), Error>
fn parse<R: Read>( reader: &mut R, num_bytes_read: &mut u64, card_80_bytes_buf: &mut [u8; 80] ) -> Result<Self, Error>
fn parse_async<'life0, 'life1, 'life2, 'async_trait, R>( reader: &'life0 mut R, num_bytes_read: &'life1 mut u64, card_80_bytes_buf: &'life2 mut [u8; 80] ) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + 'async_trait>>where R: AsyncRead + Unpin + 'async_trait, Self: Sized + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
impl StructuralPartialEq for BinTable
Auto Trait Implementations§
impl RefUnwindSafe for BinTable
impl Send for BinTable
impl Sync for BinTable
impl Unpin for BinTable
impl UnwindSafe for BinTable
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