Type Alias tfrecord::record_reader::BytesStream
source · pub type BytesStream<R> = RecordStream<Vec<u8>, R>;
Aliased Type§
struct BytesStream<R> { /* private fields */ }
Implementations§
source§impl<T, R> RecordStream<T, R>where
T: Record,
R: AsyncRead,
impl<T, R> RecordStream<T, R>where T: Record, R: AsyncRead,
sourcepub fn from_reader(reader: R, config: RecordReaderConfig) -> Selfwhere
R: 'static + Unpin + Send,
pub fn from_reader(reader: R, config: RecordReaderConfig) -> Selfwhere R: 'static + Unpin + Send,
Load records from a reader type with [AsyncRead] trait.