pub enum Minimal {
Heartbeat(Heartbeat),
ProtocolVersion(ProtocolVersion),
}
Expand description
Enum containing all messages within minimal
dialect.
Variants§
Heartbeat(Heartbeat)
MAVLink message HEARTBEAT
.
ProtocolVersion(ProtocolVersion)
MAVLink message PROTOCOL_VERSION
.
Trait Implementations§
source§impl Dialect for Minimal
impl Dialect for Minimal
source§fn dialect() -> Option<DialectId>
fn dialect() -> Option<DialectId>
Returns dialect
identifier as specified in MAVLink XML definitions.
source§fn version() -> Option<DialectVersion>
fn version() -> Option<DialectVersion>
Minor dialect version
as specified in MAVLink XML definitions.
source§fn message_info(id: MessageId) -> Result<&'static dyn MessageSpec, SpecError>
fn message_info(id: MessageId) -> Result<&'static dyn MessageSpec, SpecError>
Message specification by id
.
source§fn spec() -> &'static DialectSpec
fn spec() -> &'static DialectSpec
Dialect specification.
source§impl From<ProtocolVersion> for Minimal
impl From<ProtocolVersion> for Minimal
source§fn from(value: ProtocolVersion) -> Self
fn from(value: ProtocolVersion) -> Self
Converts to this type from the input type.
source§impl IntoPayload for Minimal
impl IntoPayload for Minimal
source§impl MessageSpec for Minimal
impl MessageSpec for Minimal
source§fn id(&self) -> MessageId
fn id(&self) -> MessageId
MAVLink message ID.
See MessageSpec::id
for details.
source§fn min_supported_mavlink_version(&self) -> MavLinkVersion
fn min_supported_mavlink_version(&self) -> MavLinkVersion
Minimum supported MAVLink protocol version.
See MessageSpec::min_supported_mavlink_version
for details.
source§fn crc_extra(&self) -> CrcExtra
fn crc_extra(&self) -> CrcExtra
Message EXTRA_CRC
calculated from message XML definition.
See MessageSpec::crc_extra
for details.
Auto Trait Implementations§
impl Freeze for Minimal
impl RefUnwindSafe for Minimal
impl Send for Minimal
impl Sync for Minimal
impl Unpin for Minimal
impl UnwindSafe for Minimal
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