Struct fluvio_storage::batch::FileBatchStream[][src]

pub struct FileBatchStream<R> where
    R: Default + Debug
{ /* fields omitted */ }

Implementations

impl<R> FileBatchStream<R> where
    R: Default + Debug
[src]

pub fn new(file: File) -> FileBatchStream<R>[src]

pub async fn new_with_pos(
    file: File,
    pos: Size
) -> Result<FileBatchStream<R>, StorageError>
[src]

pub fn invalid(self) -> Option<IoError>[src]

check if it is invalid

impl<R> FileBatchStream<R> where
    R: BatchRecords
[src]

pub async fn next(&mut self) -> Option<FileBatchPos<R>>[src]

Auto Trait Implementations

impl<R> !RefUnwindSafe for FileBatchStream<R>[src]

impl<R> Send for FileBatchStream<R> where
    R: Send
[src]

impl<R> Sync for FileBatchStream<R> where
    R: Sync
[src]

impl<R> Unpin for FileBatchStream<R> where
    R: Unpin
[src]

impl<R> !UnwindSafe for FileBatchStream<R>[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<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.