Struct mavlink::MAVLinkV2MessageRaw
source · pub struct MAVLinkV2MessageRaw(/* private fields */);
Implementations§
source§impl MAVLinkV2MessageRaw
impl MAVLinkV2MessageRaw
pub const fn new() -> MAVLinkV2MessageRaw
pub fn header(&self) -> &[u8] ⓘ
pub fn payload_length(&self) -> u8
pub fn incompatibility_flags(&self) -> u8
pub fn incompatibility_flags_mut(&mut self) -> &mut u8
pub fn compatibility_flags(&self) -> u8
pub fn sequence(&self) -> u8
pub fn system_id(&self) -> u8
pub fn component_id(&self) -> u8
pub fn message_id(&self) -> u32
pub fn payload(&self) -> &[u8] ⓘ
pub fn checksum(&self) -> u16
pub fn checksum_bytes(&self) -> &[u8] ⓘ
Available on crate feature
signing
only.pub fn signature_link_id(&self) -> u8
Available on crate feature
signing
only.pub fn signature_link_id_mut(&mut self) -> &mut u8
Available on crate feature
signing
only.pub fn signature_timestamp_bytes(&self) -> &[u8] ⓘ
Available on crate feature
signing
only.pub fn signature_timestamp_bytes_mut(&mut self) -> &mut [u8] ⓘ
Available on crate feature
signing
only.pub fn signature_timestamp(&self) -> u64
Available on crate feature
signing
only.pub fn signature_value(&self) -> &[u8] ⓘ
Available on crate feature
signing
only.pub fn signature_value_mut(&mut self) -> &mut [u8] ⓘ
Available on crate feature
signing
only.pub fn has_valid_crc<M>(&self) -> boolwhere
M: Message,
pub fn calculate_signature( &self, secret_key: &[u8], target_buffer: &mut [u8; 6], )
Available on crate feature
signing
only.pub fn raw_bytes(&self) -> &[u8] ⓘ
pub fn serialize_message<M>(&mut self, header: MavHeader, message: &M)where
M: Message,
pub fn serialize_message_for_signing<M>(
&mut self,
header: MavHeader,
message: &M,
)where
M: Message,
pub fn serialize_message_data<D>(&mut self, header: MavHeader, message_data: &D)where
D: MessageData,
Trait Implementations§
source§impl Clone for MAVLinkV2MessageRaw
impl Clone for MAVLinkV2MessageRaw
source§fn clone(&self) -> MAVLinkV2MessageRaw
fn clone(&self) -> MAVLinkV2MessageRaw
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 MAVLinkV2MessageRaw
impl Debug for MAVLinkV2MessageRaw
source§impl Default for MAVLinkV2MessageRaw
impl Default for MAVLinkV2MessageRaw
source§fn default() -> MAVLinkV2MessageRaw
fn default() -> MAVLinkV2MessageRaw
Returns the “default value” for a type. Read more
source§impl PartialEq for MAVLinkV2MessageRaw
impl PartialEq for MAVLinkV2MessageRaw
impl Copy for MAVLinkV2MessageRaw
impl Eq for MAVLinkV2MessageRaw
impl StructuralPartialEq for MAVLinkV2MessageRaw
Auto Trait Implementations§
impl Freeze for MAVLinkV2MessageRaw
impl RefUnwindSafe for MAVLinkV2MessageRaw
impl Send for MAVLinkV2MessageRaw
impl Sync for MAVLinkV2MessageRaw
impl Unpin for MAVLinkV2MessageRaw
impl UnwindSafe for MAVLinkV2MessageRaw
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
)