io_interner
pub fn io_op<R1: Read, R2: Read, T>( x: R1, y: R2, callback: impl Fn(&[u8], &[u8]) -> Option<T>) -> Result<Option<T>>
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