Trait radn::mode::StreamExt

source ·
pub trait StreamExt<E>: Stream {
    // Provided method
    fn iread_n_const<const N: usize>(
        self,
        err: impl FnOnce(&[u8]) -> E
    ) -> Result<([u8; N], Self), E> { ... }
}
Expand description

Provided Methods§

source

fn iread_n_const<const N: usize>( self, err: impl FnOnce(&[u8]) -> E ) -> Result<([u8; N], Self), E>

const-length equivalent of Stream::iread_n.

Implementors§

source§

impl<I: Stream, E> StreamExt<E> for I