[][src]Trait hidefix::reader::dataset::Streamer

pub trait Streamer {
    fn stream(
        &self,
        indices: Option<&[u64]>,
        counts: Option<&[u64]>
    ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'static>>;
fn order(&self) -> Order;
fn dsize(&self) -> usize; }

Required methods

fn stream(
    &self,
    indices: Option<&[u64]>,
    counts: Option<&[u64]>
) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'static>>
[src]

Stream slice of dataset as chunks of Bytes in big endian order.

fn order(&self) -> Order[src]

Byte-order of dataset.

fn dsize(&self) -> usize[src]

Size of datatype.

Loading content...

Implementors

impl<'a, const D: usize> Streamer for StreamReader<'a, D>[src]

fn stream(
    &self,
    indices: Option<&[u64]>,
    counts: Option<&[u64]>
) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'static>>
[src]

A stream of bytes from the variable. Always in Big Endian.

Loading content...