[][src]Function dynamixel2::read_response

pub fn read_response<R: ?Sized, I>(
    stream: &mut R,
    instruction: &mut I
) -> Result<I::Response, ReadError> where
    R: Read,
    I: Instruction

Read a response from a stream.