pub fn from_eio<'a, T, R>(
val: (R, &'a mut [u8]),
) -> Result<(T, (R, &'a mut [u8]))>where
T: Deserialize<'a>,
R: Read + 'a,
Expand description
Deserialize a message of type T
from a embedded_io::blocking::Read.
pub fn from_eio<'a, T, R>(
val: (R, &'a mut [u8]),
) -> Result<(T, (R, &'a mut [u8]))>where
T: Deserialize<'a>,
R: Read + 'a,
Deserialize a message of type T
from a embedded_io::blocking::Read.