Function async_hal::io::reader

source ·
pub const fn reader<T, E>(stream: T) -> Reader<T>where
    T: Stream<Item = Result<u8, E>> + Unpin,
Expand description

Reader for a stream of bytes