/// Convert the reply to a vector of byte slices that can be sent to the kernel driver.
Convert the reply to a vector of byte slices that can be sent to the kernel driver.
Convert the reply to a vector of byte slices that can be sent to the kernel driver .
pub fn to_io_slices(&self) -> Vec<IoSlice<'_>> {
        let mut bufs = vec![as_io_slice(&self.header)];
        if let Some(ref payload) = self.payload {
            bufs.push(payload.as_io_slice());
        }
        bufs
    }
pub fn to_io_slices ( & self ) -> Vec < IoSlice < ' _ > > { let mut bufs = vec ! [ as_io_slice ( self header ) ] ; if let Some ( ref payload ) = self . payload { bufs . push ( payload . as_io_slice ( ) ) ; } bufs }
Convert the reply to a vector of byte slices that can be sent to the kernel driver.
Convert the reply to a vector of byte slices that can be sent to the kernel driver .
&self