Struct mavlink::ualberta::LINK_NODE_STATUS_DATA
source · pub struct LINK_NODE_STATUS_DATA {
pub timestamp: u64,
pub tx_rate: u32,
pub rx_rate: u32,
pub messages_sent: u32,
pub messages_received: u32,
pub messages_lost: u32,
pub rx_parse_err: u16,
pub tx_overflows: u16,
pub rx_overflows: u16,
pub tx_buf: u8,
pub rx_buf: u8,
}
Available on crate feature
ualberta
only.Expand description
id: 8 Status generated in each node in the communication chain and injected into MAVLink stream..
Fields§
§timestamp: u64
Timestamp (time since system boot)..
tx_rate: u32
Transmit rate.
rx_rate: u32
Receive rate.
messages_sent: u32
Messages sent.
messages_received: u32
Messages received (estimated from counting seq).
messages_lost: u32
Messages lost (estimated from counting seq).
rx_parse_err: u16
Number of bytes that could not be parsed correctly..
tx_overflows: u16
Transmit buffer overflows. This number wraps around as it reaches UINT16_MAX.
rx_overflows: u16
Receive buffer overflows. This number wraps around as it reaches UINT16_MAX.
tx_buf: u8
Remaining free transmit buffer space.
rx_buf: u8
Remaining free receive buffer space.
Implementations§
source§impl LINK_NODE_STATUS_DATA
impl LINK_NODE_STATUS_DATA
pub const ENCODED_LEN: usize = 36usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for LINK_NODE_STATUS_DATA
impl Clone for LINK_NODE_STATUS_DATA
source§fn clone(&self) -> LINK_NODE_STATUS_DATA
fn clone(&self) -> LINK_NODE_STATUS_DATA
Returns a copy 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 Debug for LINK_NODE_STATUS_DATA
impl Debug for LINK_NODE_STATUS_DATA
source§impl Default for LINK_NODE_STATUS_DATA
impl Default for LINK_NODE_STATUS_DATA
source§impl<'de> Deserialize<'de> for LINK_NODE_STATUS_DATA
impl<'de> Deserialize<'de> for LINK_NODE_STATUS_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 LINK_NODE_STATUS_DATA
impl MessageData for LINK_NODE_STATUS_DATA
const ID: u32 = 8u32
const NAME: &'static str = "LINK_NODE_STATUS"
const EXTRA_CRC: u8 = 117u8
const ENCODED_LEN: usize = 36usize
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 LINK_NODE_STATUS_DATA
impl PartialEq for LINK_NODE_STATUS_DATA
source§impl Serialize for LINK_NODE_STATUS_DATA
impl Serialize for LINK_NODE_STATUS_DATA
impl StructuralPartialEq for LINK_NODE_STATUS_DATA
Auto Trait Implementations§
impl Freeze for LINK_NODE_STATUS_DATA
impl RefUnwindSafe for LINK_NODE_STATUS_DATA
impl Send for LINK_NODE_STATUS_DATA
impl Sync for LINK_NODE_STATUS_DATA
impl Unpin for LINK_NODE_STATUS_DATA
impl UnwindSafe for LINK_NODE_STATUS_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)