Enum e_drone::protocol::Data [−][src]
pub enum Data {
Show 84 variants
None,
ErrorMessage(String),
Header(Header),
Ping(Ping),
Ack(Ack),
Error(Error),
Request(Request),
RequestOption(RequestOption),
Address(Address),
Information(Information),
Update(Update),
UpdateLocation(UpdateLocation),
SystemInformation(SystemInformation),
Administrator(Administrator),
Monitor0(Monitor0),
Monitor4(Monitor4),
Monitor8(Monitor8),
Quad8(Quad8),
Quad8AndRequestData(Quad8AndRequestData),
ControlPosition16(Position16),
ControlPosition(Position),
Command(Command),
CommandLightEvent(CommandLightEvent),
CommandLightEventColor(CommandLightEventColor),
Pairing(Pairing),
Rssi(Rssi),
BattleIrMessage(IrMessage),
BattleLightEventCommand(LightEventCommand),
BattleIrMessageLightEventCommand(IrMessageLightEventCommand),
LightManual(Manual),
LightMode(Mode),
LightEvent(Event),
RawMotion(RawMotion),
RawFlow(RawFlow),
State(State),
Attitude(Attitude),
Position(Position),
PositionVelocity(PositionVelocity),
Motion(Motion),
Range(Range),
Count(Count),
Bias(Bias),
Trim(Trim),
LostConnection(LostConnection),
MagnetometerOffset(MagnetometerOffset),
MotorV(MotorV),
MotorRV(MotorRV),
MotorVA(MotorVA),
MotorRVA(MotorRVA),
MotorSingleV(MotorSingleV),
MotorSingleRV(MotorSingleRV),
Melody(Melody),
BuzzerScale(BuzzerScale),
BuzzerHz(BuzzerHz),
Button(Button),
Joystick(Joystick),
DisplayClearAll(ClearAll),
DisplayClear(Clear),
DisplayInvert(Invert),
DisplayDrawPoint(DrawPoint),
DisplayDrawLine(DrawLine),
DisplayDrawRect(DrawRect),
DisplayDrawCircle(DrawCircle),
DisplayDrawString(DrawString),
DisplayDrawStringAlign(DrawStringAlign),
DisplayDrawImage(DrawImage),
CardClassify(Classify),
CardRange(Range),
CardRaw(Raw),
CardColor(Color),
CardListCard(ListCard),
CardListFunction(ListFunction),
NavigationTarget(Target),
NavigationTargetLight(TargetLight),
NavigationLocation(Location),
NavigationMonitor(Monitor),
NavigationHeading(Heading),
NavigationCounter(Counter),
NavigationSatellite(Satellite),
NavigationLocationAdjust(LocationAdjust),
ExternalSystemState(State),
ExternalSystemCommand(Command),
ExternalCameraState(State),
ExternalCameraCommand(Command),
}
Variants
ErrorMessage(String)
Tuple Fields of ErrorMessage
0: String
Header(Header)
Tuple Fields of Header
0: Header
Ping(Ping)
Tuple Fields of Ping
0: Ping
Ack(Ack)
Tuple Fields of Ack
0: Ack
Error(Error)
Tuple Fields of Error
0: Error
Request(Request)
Tuple Fields of Request
0: Request
RequestOption(RequestOption)
Tuple Fields of RequestOption
Address(Address)
Tuple Fields of Address
0: Address
Information(Information)
Tuple Fields of Information
0: Information
Update(Update)
Tuple Fields of Update
0: Update
UpdateLocation(UpdateLocation)
Tuple Fields of UpdateLocation
SystemInformation(SystemInformation)
Tuple Fields of SystemInformation
Administrator(Administrator)
Tuple Fields of Administrator
Monitor0(Monitor0)
Tuple Fields of Monitor0
0: Monitor0
Monitor4(Monitor4)
Tuple Fields of Monitor4
0: Monitor4
Monitor8(Monitor8)
Tuple Fields of Monitor8
0: Monitor8
Quad8(Quad8)
Tuple Fields of Quad8
0: Quad8
Quad8AndRequestData(Quad8AndRequestData)
Tuple Fields of Quad8AndRequestData
ControlPosition16(Position16)
Tuple Fields of ControlPosition16
0: Position16
ControlPosition(Position)
Tuple Fields of ControlPosition
0: Position
Command(Command)
Tuple Fields of Command
0: Command
CommandLightEvent(CommandLightEvent)
Tuple Fields of CommandLightEvent
CommandLightEventColor(CommandLightEventColor)
Tuple Fields of CommandLightEventColor
Pairing(Pairing)
Tuple Fields of Pairing
0: Pairing
Rssi(Rssi)
Tuple Fields of Rssi
0: Rssi
BattleIrMessage(IrMessage)
Tuple Fields of BattleIrMessage
0: IrMessage
BattleLightEventCommand(LightEventCommand)
Tuple Fields of BattleLightEventCommand
BattleIrMessageLightEventCommand(IrMessageLightEventCommand)
Tuple Fields of BattleIrMessageLightEventCommand
LightManual(Manual)
Tuple Fields of LightManual
0: Manual
LightMode(Mode)
Tuple Fields of LightMode
0: Mode
LightEvent(Event)
Tuple Fields of LightEvent
0: Event
RawMotion(RawMotion)
Tuple Fields of RawMotion
0: RawMotion
RawFlow(RawFlow)
Tuple Fields of RawFlow
0: RawFlow
State(State)
Tuple Fields of State
0: State
Attitude(Attitude)
Tuple Fields of Attitude
0: Attitude
Position(Position)
Tuple Fields of Position
0: Position
PositionVelocity(PositionVelocity)
Tuple Fields of PositionVelocity
Motion(Motion)
Tuple Fields of Motion
0: Motion
Range(Range)
Tuple Fields of Range
0: Range
Count(Count)
Tuple Fields of Count
0: Count
Bias(Bias)
Tuple Fields of Bias
0: Bias
Trim(Trim)
Tuple Fields of Trim
0: Trim
LostConnection(LostConnection)
Tuple Fields of LostConnection
MagnetometerOffset(MagnetometerOffset)
Tuple Fields of MagnetometerOffset
MotorV(MotorV)
Tuple Fields of MotorV
0: MotorV
MotorRV(MotorRV)
Tuple Fields of MotorRV
0: MotorRV
MotorVA(MotorVA)
Tuple Fields of MotorVA
0: MotorVA
MotorRVA(MotorRVA)
Tuple Fields of MotorRVA
0: MotorRVA
MotorSingleV(MotorSingleV)
Tuple Fields of MotorSingleV
0: MotorSingleV
MotorSingleRV(MotorSingleRV)
Tuple Fields of MotorSingleRV
Melody(Melody)
Tuple Fields of Melody
0: Melody
BuzzerScale(BuzzerScale)
Tuple Fields of BuzzerScale
0: BuzzerScale
BuzzerHz(BuzzerHz)
Tuple Fields of BuzzerHz
0: BuzzerHz
Button(Button)
Tuple Fields of Button
0: Button
Joystick(Joystick)
Tuple Fields of Joystick
0: Joystick
DisplayClearAll(ClearAll)
Tuple Fields of DisplayClearAll
0: ClearAll
DisplayClear(Clear)
Tuple Fields of DisplayClear
0: Clear
DisplayInvert(Invert)
Tuple Fields of DisplayInvert
0: Invert
DisplayDrawPoint(DrawPoint)
Tuple Fields of DisplayDrawPoint
0: DrawPoint
DisplayDrawLine(DrawLine)
Tuple Fields of DisplayDrawLine
0: DrawLine
DisplayDrawRect(DrawRect)
Tuple Fields of DisplayDrawRect
0: DrawRect
DisplayDrawCircle(DrawCircle)
Tuple Fields of DisplayDrawCircle
0: DrawCircle
DisplayDrawString(DrawString)
Tuple Fields of DisplayDrawString
0: DrawString
DisplayDrawStringAlign(DrawStringAlign)
Tuple Fields of DisplayDrawStringAlign
DisplayDrawImage(DrawImage)
Tuple Fields of DisplayDrawImage
0: DrawImage
CardClassify(Classify)
Tuple Fields of CardClassify
0: Classify
CardRange(Range)
Tuple Fields of CardRange
0: Range
CardRaw(Raw)
Tuple Fields of CardRaw
0: Raw
CardColor(Color)
Tuple Fields of CardColor
0: Color
CardListCard(ListCard)
Tuple Fields of CardListCard
0: ListCard
CardListFunction(ListFunction)
Tuple Fields of CardListFunction
0: ListFunction
ExternalSystemState(State)
Tuple Fields of ExternalSystemState
0: State
ExternalSystemCommand(Command)
Tuple Fields of ExternalSystemCommand
0: Command
ExternalCameraState(State)
Tuple Fields of ExternalCameraState
0: State
ExternalCameraCommand(Command)
Tuple Fields of ExternalCameraCommand
0: Command
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Data
impl UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more