pub enum AckOutcome {
Unrelated,
InProgress(u8),
Final(u8),
}Expand description
What an incoming CommandAck means for the command in flight.
Variants§
The acknowledgement was for a different command; ignore it and keep waiting.
InProgress(u8)
The command is still running; keep waiting. The value is the reported progress
percent (0..=100), or 255 when the autopilot does not report one.
Final(u8)
The command finished with this MAV_RESULT value.
Trait Implementations§
Source§impl Clone for AckOutcome
impl Clone for AckOutcome
Source§fn clone(&self) -> AckOutcome
fn clone(&self) -> AckOutcome
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 moreimpl Copy for AckOutcome
Source§impl Debug for AckOutcome
impl Debug for AckOutcome
impl Eq for AckOutcome
Source§impl PartialEq for AckOutcome
impl PartialEq for AckOutcome
Source§fn eq(&self, other: &AckOutcome) -> bool
fn eq(&self, other: &AckOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AckOutcome
Auto Trait Implementations§
impl Freeze for AckOutcome
impl RefUnwindSafe for AckOutcome
impl Send for AckOutcome
impl Sync for AckOutcome
impl Unpin for AckOutcome
impl UnsafeUnpin for AckOutcome
impl UnwindSafe for AckOutcome
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