pub struct IrohStreamReader(pub RecvStream);Tuple Fields§
§0: RecvStreamTrait Implementations§
Source§impl AsyncStreamReader for IrohStreamReader
impl AsyncStreamReader for IrohStreamReader
Source§async fn read<const N: usize>(&mut self) -> Result<[u8; N]>
async fn read<const N: usize>(&mut self) -> Result<[u8; N]>
Read a fixed size buffer. Read more
Source§async fn read_bytes(&mut self, len: usize) -> Result<Bytes>
async fn read_bytes(&mut self, len: usize) -> Result<Bytes>
Read at most
len bytes. To read to the end, pass u64::MAX. Read moreAuto Trait Implementations§
impl Freeze for IrohStreamReader
impl RefUnwindSafe for IrohStreamReader
impl Send for IrohStreamReader
impl Sync for IrohStreamReader
impl Unpin for IrohStreamReader
impl UnwindSafe for IrohStreamReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more