pub struct MLRS_RADIO_LINK_FLOW_CONTROL_DATA {
pub tx_ser_rate: u16,
pub rx_ser_rate: u16,
pub tx_used_ser_bandwidth: u8,
pub rx_used_ser_bandwidth: u8,
pub txbuf: u8,
}
Available on crate feature
storm32
only.Expand description
id: 60047 Injected by a radio link endpoint into the MAVLink stream for purposes of flow control. Should be emitted only by components with component id MAV_COMP_ID_TELEMETRY_RADIO.
Fields§
§tx_ser_rate: u16
Transmitted bytes per second, UINT16_MAX: invalid/unknown.
rx_ser_rate: u16
Recieved bytes per second, UINT16_MAX: invalid/unknown.
tx_used_ser_bandwidth: u8
Transmit bandwidth consumption. Values: 0..100, UINT8_MAX: invalid/unknown.
rx_used_ser_bandwidth: u8
Receive bandwidth consumption. Values: 0..100, UINT8_MAX: invalid/unknown.
txbuf: u8
For compatibility with legacy method. UINT8_MAX: unknown.
Implementations§
Source§impl MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl MLRS_RADIO_LINK_FLOW_CONTROL_DATA
pub const ENCODED_LEN: usize = 7usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl Clone for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Source§fn clone(&self) -> MLRS_RADIO_LINK_FLOW_CONTROL_DATA
fn clone(&self) -> MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl<'de> Deserialize<'de> for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl MessageData for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
const ID: u32 = 60_047u32
const NAME: &'static str = "MLRS_RADIO_LINK_FLOW_CONTROL"
const EXTRA_CRC: u8 = 55u8
const ENCODED_LEN: usize = 7usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl PartialEq for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Source§fn eq(&self, other: &MLRS_RADIO_LINK_FLOW_CONTROL_DATA) -> bool
fn eq(&self, other: &MLRS_RADIO_LINK_FLOW_CONTROL_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Auto Trait Implementations§
impl Freeze for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl RefUnwindSafe for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl Send for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl Sync for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl Unpin for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
impl UnwindSafe for MLRS_RADIO_LINK_FLOW_CONTROL_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more