[][src]Struct hidefix::reader::stream::StreamReader

pub struct StreamReader<'a, const D: usize> { /* fields omitted */ }

The stream reader is intended to be used in network applications. The cache is currently local to each stream call.

Implementations

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

pub fn with_dataset<P>(
    ds: &'a Dataset<'_, D>,
    p: P
) -> Result<StreamReader<'a, D>, Error> where
    P: AsRef<Path>, 
[src]

Trait Implementations

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.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StreamerExt for T where
    T: Streamer + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.