pub enum FlightAction {
Show 36 variants
None,
WarningPowerGoHome,
WarningPowerLanding,
SmartPowerGoHome,
SmartPowerLanding,
LowVoltageLanding,
LowVoltageGoHome,
SeriousLowVoltageLanding,
RCOnekeyGoHome,
RCAssistantTakeoff,
RCAutoTakeoff,
RCAutoLanding,
AppAutoGoHome,
AppAutoLanding,
AppAutoTakeoff,
OutOfControlGoHome,
ApiAutoTakeoff,
ApiAutoLanding,
ApiAutoGoHome,
AvoidGroundLanding,
AirportAvoidLanding,
TooCloseGoHomeLanding,
TooFarGoHomeLanding,
AppWPMission,
WPAutoTakeoff,
GoHomeAvoid,
PGoHomeFinish,
VertLowLimitLanding,
BatteryForceLanding,
MCProtectGoHome,
MotorblockLanding,
AppRequestForceLanding,
FakeBatteryLanding,
RTHComingObstacleLanding,
IMUErrorRTH,
Unknown(u8),
}Variants§
None
WarningPowerGoHome
WarningPowerLanding
SmartPowerGoHome
SmartPowerLanding
LowVoltageLanding
LowVoltageGoHome
SeriousLowVoltageLanding
RCOnekeyGoHome
RCAssistantTakeoff
RCAutoTakeoff
RCAutoLanding
AppAutoGoHome
AppAutoLanding
AppAutoTakeoff
OutOfControlGoHome
ApiAutoTakeoff
ApiAutoLanding
ApiAutoGoHome
AvoidGroundLanding
AirportAvoidLanding
TooCloseGoHomeLanding
TooFarGoHomeLanding
AppWPMission
WPAutoTakeoff
GoHomeAvoid
PGoHomeFinish
VertLowLimitLanding
BatteryForceLanding
MCProtectGoHome
MotorblockLanding
AppRequestForceLanding
FakeBatteryLanding
RTHComingObstacleLanding
IMUErrorRTH
Unknown(u8)
Trait Implementations§
Source§impl Clone for FlightAction
impl Clone for FlightAction
Source§fn clone(&self) -> FlightAction
fn clone(&self) -> FlightAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlightAction
impl Debug for FlightAction
Source§impl From<u8> for FlightAction
impl From<u8> for FlightAction
Source§impl Serialize for FlightAction
impl Serialize for FlightAction
impl Copy for FlightAction
Auto Trait Implementations§
impl Freeze for FlightAction
impl RefUnwindSafe for FlightAction
impl Send for FlightAction
impl Sync for FlightAction
impl Unpin for FlightAction
impl UnwindSafe for FlightAction
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