Struct canadensis_data_types::uavcan::node::heartbeat_1_0::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.1.0
Fixed size 7 bytes
Fields
uptime: u32
saturated uint32
Always aligned Size 32 bits
health: Health
uavcan.node.Health.1.0
Always aligned Size 8 bits
mode: Mode
uavcan.node.Mode.1.0
Always aligned Size 8 bits
vendor_specific_status_code: u8
saturated uint8
Always aligned Size 8 bits
Implementations
Trait Implementations
The sealed or delimited property of this type
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
Deserializes a value from a slice of bytes and returns it Read more
A convenience function that creates a cursor around the provided bytes and calls
deserialize
Read more