[][src]Function dynamixel2::transfer_single

pub fn transfer_single<S: ?Sized, I>(
    stream: &mut S,
    instruction: &mut I
) -> Result<I::Response, TransferError> where
    S: Read + Write,
    I: Instruction

Write an instruction to a stream, and read a single response.

This is not suitable for broadcast instructions where each motor sends an individual response.