Struct mavlink::matrixpilot::STATUSTEXT_DATA
source · pub struct STATUSTEXT_DATA {
pub severity: MavSeverity,
pub text: [u8; 50],
pub id: u16,
pub chunk_seq: u8,
}
matrixpilot
only.Expand description
id: 253 Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz)..
Fields§
§severity: MavSeverity
Severity of status. Relies on the definitions within RFC-5424..
text: [u8; 50]
Status text message, without null termination character.
id: u16
Unique (opaque) identifier for this statustext message. May be used to reassemble a logical long-statustext message from a sequence of chunks. A value of zero indicates this is the only chunk in the sequence and the message can be emitted immediately..
chunk_seq: u8
This chunk’s sequence number; indexing is from zero. Any null character in the text field is taken to mean this was the last chunk..
Implementations§
source§impl STATUSTEXT_DATA
impl STATUSTEXT_DATA
pub const ENCODED_LEN: usize = 54usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for STATUSTEXT_DATA
impl Clone for STATUSTEXT_DATA
source§fn clone(&self) -> STATUSTEXT_DATA
fn clone(&self) -> STATUSTEXT_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for STATUSTEXT_DATA
impl Debug for STATUSTEXT_DATA
source§impl Default for STATUSTEXT_DATA
impl Default for STATUSTEXT_DATA
source§impl<'de> Deserialize<'de> for STATUSTEXT_DATA
impl<'de> Deserialize<'de> for STATUSTEXT_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>,
source§impl MessageData for STATUSTEXT_DATA
impl MessageData for STATUSTEXT_DATA
const ID: u32 = 253u32
const NAME: &'static str = "STATUSTEXT"
const EXTRA_CRC: u8 = 83u8
const ENCODED_LEN: usize = 54usize
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 STATUSTEXT_DATA
impl PartialEq for STATUSTEXT_DATA
source§impl Serialize for STATUSTEXT_DATA
impl Serialize for STATUSTEXT_DATA
impl StructuralPartialEq for STATUSTEXT_DATA
Auto Trait Implementations§
impl Freeze for STATUSTEXT_DATA
impl RefUnwindSafe for STATUSTEXT_DATA
impl Send for STATUSTEXT_DATA
impl Sync for STATUSTEXT_DATA
impl Unpin for STATUSTEXT_DATA
impl UnwindSafe for STATUSTEXT_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
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)
clone_to_uninit
)