pub fn write_versioned_msg<M: Message, W: Write>(
w: &mut W,
version: MavlinkVersion,
header: MavHeader,
data: &M,
) -> Result<usize, MessageWriteError>
Expand description
Write a message using the given mavlink version
pub fn write_versioned_msg<M: Message, W: Write>(
w: &mut W,
version: MavlinkVersion,
header: MavHeader,
data: &M,
) -> Result<usize, MessageWriteError>
Write a message using the given mavlink version