pub fn io_op<R1: Read, R2: Read>( x: R1, y: R2, callback: impl FnMut(&[u8], &[u8]) -> bool ) -> Result<()>
Pass to callback slices with lenght up to 512 contained in both readers until either one reach EOF and returns None or when callback returns Some,that case this function will return it.
callback
None
Some
See io::copy.
io::copy