Struct canadensis_data_types::uavcan::node::heartbeat::Heartbeat [−][src]
pub struct Heartbeat { pub uptime: u32, pub health: Health, pub mode: Mode, pub vendor_specific_status_code: u8, }
Expand description
uavcan.node.Heartbeat version 1.0
Fields
uptime: u32
health: Health
mode: Mode
vendor_specific_status_code: u8
Implementations
Trait Implementations
The sealed or delimited property of this type
Returns true if the provided number of bits is in this type’s bit length set Read more
fn deserialize_in_place(
&mut self,
cursor: &mut ReadCursor<'_>
) -> Result<(), DeserializeError>
fn deserialize_in_place(
&mut self,
cursor: &mut ReadCursor<'_>
) -> Result<(), DeserializeError>
Deserializes a value, replacing the content of self with the decoded value
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
Deserializes a value and returns it
A convenience function that creates a cursor around the provided bytes and calls deserialize
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more