fn read_vectored_volatile(&mut self, bufs: &[VolatileSlice]) -> Result<usize> {
        bufs.iter()
            .find(|b| !b.is_empty())
            .map(|&b| self.read_volatile(b))
            .unwrap_or(Ok(0))
    }
/// Like `read_volatile`, except it reads to a slice of buffers. Data is copied to fill each
/// buffer in order, with the final buffer written to possibly being only partially filled. This
/// method must behave as a single call to `read_volatile` with the buffers concatenated would.
/// The default implementation calls `read_volatile` with either the first nonempty buffer
/// provided, or returns `Ok(0)` if none exists.
Like `read_volatile`, except it reads to a slice of buffers. Data is copied to fill each
buffer in order, with the final buffer written to possibly being only partially filled. This
method must behave as a single call to `read_volatile` with the buffers concatenated would.
The default implementation calls `read_volatile` with either the first nonempty buffer
provided, or returns `Ok(0)` if none exists.
Like ` read_volatile ` except it reads to a slice of buffers . Data is copied to fill each buffer in order with the final buffer written to possibly being only partially filled . This method must behave as a single call to ` read_volatile ` with the buffers concatenated would . The default implementation calls ` read_volatile ` with either the first nonempty buffer provided or returns ` Ok ( 0 ) ` if none exists .
fn read_vectored_volatile(&mut self, bufs: &[VolatileSlice]) -> Result<usize> {
        bufs.iter()
            .find(|b| !b.is_empty())
            .map(|&b| self.read_volatile(b))
            .unwrap_or(Ok(0))
    }
fn read_vectored_volatile ( & mut self , bufs : & [ VolatileSlice ] ) -> Result < usize > { bufs . iter ( ) . find ( | b | ! b . is_empty ( ) ) . map ( | & b | self . read_volatile ( b ) ) . unwrap_or ( Ok ( 0 ) ) }
Like `read_volatile`, except it reads to a slice of buffers.
Like ` read_volatile ` except it reads to a slice of buffers .
&mut self
bufs
&[VolatileSlice]