Trait ReadExt
read_restrict
pub trait ReadExt { fn restrict(self, restriction: u64) -> Restrict<Self> where Self: Sized, { ... } }
fn restrict(self, restriction: u64) -> Restrict<Self> where Self: Sized,
impl<R: Read> ReadExt for R