pub enum EventsInterfaceMsrv {
RequestEvent(RequestEvent),
CurrentEventSequence(CurrentEventSequence),
ResponseEventError(ResponseEventError),
Event(Event),
}Expand description
Enum containing all messages within Events Interface microservice of all dialect.
Variants§
RequestEvent(RequestEvent)
MAVLink message REQUEST_EVENT.
CurrentEventSequence(CurrentEventSequence)
MAVLink message CURRENT_EVENT_SEQUENCE.
ResponseEventError(ResponseEventError)
MAVLink message RESPONSE_EVENT_ERROR.
Event(Event)
MAVLink message EVENT.
Implementations§
Source§impl EventsInterfaceMsrv
impl EventsInterfaceMsrv
Sourcepub fn message_ids() -> impl Iterator<Item = u32>
pub fn message_ids() -> impl Iterator<Item = u32>
Iterator over all message IDs within this dialect.
Requires metadata feature flag to be enabled.
Trait Implementations§
Source§impl Clone for EventsInterfaceMsrv
impl Clone for EventsInterfaceMsrv
Source§fn clone(&self) -> EventsInterfaceMsrv
fn clone(&self) -> EventsInterfaceMsrv
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventsInterfaceMsrv
impl Debug for EventsInterfaceMsrv
Source§impl<'de> Deserialize<'de> for EventsInterfaceMsrv
impl<'de> Deserialize<'de> for EventsInterfaceMsrv
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventsInterfaceMsrv, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventsInterfaceMsrv, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Dialect for EventsInterfaceMsrv
impl Dialect for EventsInterfaceMsrv
Source§fn dialect() -> Option<u32>
fn dialect() -> Option<u32>
Returns
dialect identifier as specified in MAVLink XML definitions.Source§fn message_info(id: u32) -> Result<&'static dyn MessageSpec, SpecError>
fn message_info(id: u32) -> Result<&'static dyn MessageSpec, SpecError>
Message specification by
id. Read moreSource§fn decode(payload: &Payload) -> Result<EventsInterfaceMsrv, SpecError>
fn decode(payload: &Payload) -> Result<EventsInterfaceMsrv, SpecError>
Decode dialect message from
Payload.Source§fn spec() -> &'static DialectSpec
fn spec() -> &'static DialectSpec
Dialect specification.
impl Flatten for EventsInterfaceMsrv
Source§impl From<EventsInterfaceMsrv> for All
impl From<EventsInterfaceMsrv> for All
Source§fn from(value: EventsInterfaceMsrv) -> All
fn from(value: EventsInterfaceMsrv) -> All
Converts to this type from the input type.
Source§impl IntoPayload for EventsInterfaceMsrv
impl IntoPayload for EventsInterfaceMsrv
Source§impl MessageSpec for EventsInterfaceMsrv
impl MessageSpec for EventsInterfaceMsrv
Source§impl NamedType for EventsInterfaceMsrv
impl NamedType for EventsInterfaceMsrv
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
this is equivalent to Type::inline but returns a NamedDataType instead.
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
Source§impl PartialEq for EventsInterfaceMsrv
impl PartialEq for EventsInterfaceMsrv
Source§fn eq(&self, other: &EventsInterfaceMsrv) -> bool
fn eq(&self, other: &EventsInterfaceMsrv) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventsInterfaceMsrv
impl Serialize for EventsInterfaceMsrv
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EventsInterfaceMsrv
Source§impl TryFrom<&Payload> for EventsInterfaceMsrv
impl TryFrom<&Payload> for EventsInterfaceMsrv
Source§impl TryFrom<All> for EventsInterfaceMsrv
impl TryFrom<All> for EventsInterfaceMsrv
Source§impl Type for EventsInterfaceMsrv
impl Type for EventsInterfaceMsrv
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.Auto Trait Implementations§
impl Freeze for EventsInterfaceMsrv
impl RefUnwindSafe for EventsInterfaceMsrv
impl Send for EventsInterfaceMsrv
impl Sync for EventsInterfaceMsrv
impl Unpin for EventsInterfaceMsrv
impl UnsafeUnpin for EventsInterfaceMsrv
impl UnwindSafe for EventsInterfaceMsrv
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