pub trait IoRead<'de> { type Error: Error + 'static; // Required method fn read_slice<'a>( &'a mut self, len: usize, ) -> Result<Reference<'de, 'a>, Self::Error>; }
decode input source
Error type produced by the reader.
read exactly len bytes and consume
len
std