Struct mavlink::common::RESPONSE_EVENT_ERROR_DATA
source · pub struct RESPONSE_EVENT_ERROR_DATA {
pub sequence: u16,
pub sequence_oldest_available: u16,
pub target_system: u8,
pub target_component: u8,
pub reason: MavEventErrorReason,
}
Available on crate feature
common
only.Expand description
id: 413 Response to a REQUEST_EVENT in case of an error (e.g. the event is not available anymore)..
Fields§
§sequence: u16
Sequence number..
sequence_oldest_available: u16
Oldest Sequence number that is still available after the sequence set in REQUEST_EVENT..
target_system: u8
System ID.
target_component: u8
Component ID.
reason: MavEventErrorReason
Error reason..
Implementations§
source§impl RESPONSE_EVENT_ERROR_DATA
impl RESPONSE_EVENT_ERROR_DATA
pub const ENCODED_LEN: usize = 7usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for RESPONSE_EVENT_ERROR_DATA
impl Clone for RESPONSE_EVENT_ERROR_DATA
source§fn clone(&self) -> RESPONSE_EVENT_ERROR_DATA
fn clone(&self) -> RESPONSE_EVENT_ERROR_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 RESPONSE_EVENT_ERROR_DATA
impl Debug for RESPONSE_EVENT_ERROR_DATA
source§impl Default for RESPONSE_EVENT_ERROR_DATA
impl Default for RESPONSE_EVENT_ERROR_DATA
source§impl<'de> Deserialize<'de> for RESPONSE_EVENT_ERROR_DATA
impl<'de> Deserialize<'de> for RESPONSE_EVENT_ERROR_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 RESPONSE_EVENT_ERROR_DATA
impl MessageData for RESPONSE_EVENT_ERROR_DATA
const ID: u32 = 413u32
const NAME: &'static str = "RESPONSE_EVENT_ERROR"
const EXTRA_CRC: u8 = 77u8
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
impl StructuralPartialEq for RESPONSE_EVENT_ERROR_DATA
Auto Trait Implementations§
impl Freeze for RESPONSE_EVENT_ERROR_DATA
impl RefUnwindSafe for RESPONSE_EVENT_ERROR_DATA
impl Send for RESPONSE_EVENT_ERROR_DATA
impl Sync for RESPONSE_EVENT_ERROR_DATA
impl Unpin for RESPONSE_EVENT_ERROR_DATA
impl UnwindSafe for RESPONSE_EVENT_ERROR_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
)