pub struct Messages {
pub heartbeat: Option<HeartbeatMsg>,
pub param_request_read: Deque<ParamRequestReadMsg, PARAM_READ_INGRESS_QUEUE_CAPACITY>,
pub param_request_list: Option<ParamRequestListMsg>,
pub param_set: Deque<ParamSetMsg, PARAM_SET_INGRESS_QUEUE_CAPACITY>,
pub timesync: Option<TimesyncMsg>,
pub offboard_control: Option<OffboardControlMsg>,
pub cmd: Option<RosflightCmdMsg>,
pub aux_cmd: Option<RosflightAuxCmdMsg>,
pub external_attitude: Option<ExternalAttitudeMsg>,
pub rc_raw: Option<RcChannelsMsg>,
}Fields§
§heartbeat: Option<HeartbeatMsg>§param_request_read: Deque<ParamRequestReadMsg, PARAM_READ_INGRESS_QUEUE_CAPACITY>§param_request_list: Option<ParamRequestListMsg>§param_set: Deque<ParamSetMsg, PARAM_SET_INGRESS_QUEUE_CAPACITY>§timesync: Option<TimesyncMsg>§offboard_control: Option<OffboardControlMsg>§cmd: Option<RosflightCmdMsg>§aux_cmd: Option<RosflightAuxCmdMsg>§external_attitude: Option<ExternalAttitudeMsg>§rc_raw: Option<RcChannelsMsg>Implementations§
Trait Implementations§
Source§impl Store<ExternalAttitudeMsg> for Messages
impl Store<ExternalAttitudeMsg> for Messages
fn store(&mut self, msg: ExternalAttitudeMsg)
fn take(&mut self) -> Option<ExternalAttitudeMsg>
Source§impl Store<HeartbeatMsg> for Messages
impl Store<HeartbeatMsg> for Messages
fn store(&mut self, msg: HeartbeatMsg)
fn take(&mut self) -> Option<HeartbeatMsg>
Source§impl Store<OffboardControlMsg> for Messages
impl Store<OffboardControlMsg> for Messages
fn store(&mut self, msg: OffboardControlMsg)
fn take(&mut self) -> Option<OffboardControlMsg>
Source§impl Store<ParamRequestListMsg> for Messages
impl Store<ParamRequestListMsg> for Messages
fn store(&mut self, msg: ParamRequestListMsg)
fn take(&mut self) -> Option<ParamRequestListMsg>
Source§impl Store<ParamRequestReadMsg> for Messages
impl Store<ParamRequestReadMsg> for Messages
fn store(&mut self, msg: ParamRequestReadMsg)
fn take(&mut self) -> Option<ParamRequestReadMsg>
Source§impl Store<ParamSetMsg> for Messages
impl Store<ParamSetMsg> for Messages
fn store(&mut self, msg: ParamSetMsg)
fn take(&mut self) -> Option<ParamSetMsg>
Source§impl Store<RosflightAuxCmdMsg> for Messages
impl Store<RosflightAuxCmdMsg> for Messages
fn store(&mut self, msg: RosflightAuxCmdMsg)
fn take(&mut self) -> Option<RosflightAuxCmdMsg>
Source§impl Store<RosflightCmdMsg> for Messages
impl Store<RosflightCmdMsg> for Messages
fn store(&mut self, msg: RosflightCmdMsg)
fn take(&mut self) -> Option<RosflightCmdMsg>
Source§impl Store<TimesyncMsg> for Messages
impl Store<TimesyncMsg> for Messages
fn store(&mut self, msg: TimesyncMsg)
fn take(&mut self) -> Option<TimesyncMsg>
Auto Trait Implementations§
impl Freeze for Messages
impl RefUnwindSafe for Messages
impl Send for Messages
impl Sync for Messages
impl Unpin for Messages
impl UnsafeUnpin for Messages
impl UnwindSafe for Messages
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.