pub struct BinTable { /* private fields */ }

Trait Implementations§

source§

impl Clone for BinTable

source§

fn clone(&self) -> BinTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, R> DataAsyncBufRead<'a, BinTable> for BufReader<R>where R: AsyncRead + Debug + 'a + Unpin,

§

type Data = St<'a, BufReader<R>, u8>

source§

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,

Consume the data to return back the reader at the position of the end of the data block Read more
source§

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,

§

type Data = Iter<'a, BufReader<R>, u8>

source§

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>

Consume the data to return back the reader at the position of the end of the data block Read more
source§

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,

§

type Data = Data<'a, Cursor<R>>

source§

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>

Consume the data to return back the reader at the position of the end of the data block Read more
source§

fn read_n_bytes_exact(&mut self, num_bytes_to_read: u64) -> Result<(), Error>

source§

impl Debug for BinTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<BinTable> for BinTable

source§

fn eq(&self, other: &BinTable) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for BinTable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Xtension for BinTable

source§

fn get_num_bytes_data_block(&self) -> u64

source§

fn update_with_parsed_header( &mut self, cards: &HashMap<[u8; 8], Value> ) -> Result<(), Error>

source§

fn parse<R: Read>( reader: &mut R, num_bytes_read: &mut u64, card_80_bytes_buf: &mut [u8; 80] ) -> Result<Self, Error>

source§

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,

source§

impl StructuralPartialEq for BinTable

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.