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), NavigationTargetMove(TargetMove), NavigationTargetAction(TargetAction), NavigationLocation(Location), NavigationMonitor(Monitor), NavigationHeading(Heading), NavigationCounter(Counter), NavigationSatellite(Satellite), NavigationLocationAdjust(LocationAdjust), ExternalSystemState(State), ExternalSystemCommand(Command), ExternalCameraState(State), ExternalCameraCommand(Command),
}

Variants

None
ErrorMessage

Tuple Fields of ErrorMessage

0: String
Header

Tuple Fields of Header

0: Header
Ping

Tuple Fields of Ping

0: Ping
Ack

Tuple Fields of Ack

0: Ack
Error

Tuple Fields of Error

0: Error
Request

Tuple Fields of Request

0: Request
RequestOption

Tuple Fields of RequestOption

0: RequestOption
Address

Tuple Fields of Address

0: Address
Information

Tuple Fields of Information

0: Information
Update

Tuple Fields of Update

0: Update
UpdateLocation

Tuple Fields of UpdateLocation

0: UpdateLocation
SystemInformation

Tuple Fields of SystemInformation

0: SystemInformation
Administrator

Tuple Fields of Administrator

0: Administrator
Monitor0

Tuple Fields of Monitor0

0: Monitor0
Monitor4

Tuple Fields of Monitor4

0: Monitor4
Monitor8

Tuple Fields of Monitor8

0: Monitor8
Quad8

Tuple Fields of Quad8

0: Quad8
Quad8AndRequestData

Tuple Fields of Quad8AndRequestData

0: Quad8AndRequestData
ControlPosition16

Tuple Fields of ControlPosition16

0: Position16
ControlPosition

Tuple Fields of ControlPosition

0: Position
Command

Tuple Fields of Command

0: Command
CommandLightEvent

Tuple Fields of CommandLightEvent

0: CommandLightEvent
CommandLightEventColor

Tuple Fields of CommandLightEventColor

0: CommandLightEventColor
Pairing

Tuple Fields of Pairing

0: Pairing
Rssi

Tuple Fields of Rssi

0: Rssi
BattleIrMessage

Tuple Fields of BattleIrMessage

0: IrMessage
BattleLightEventCommand

Tuple Fields of BattleLightEventCommand

0: LightEventCommand
BattleIrMessageLightEventCommand

Tuple Fields of BattleIrMessageLightEventCommand

0: IrMessageLightEventCommand
LightManual

Tuple Fields of LightManual

0: Manual
LightMode

Tuple Fields of LightMode

0: Mode
LightEvent

Tuple Fields of LightEvent

0: Event
RawMotion

Tuple Fields of RawMotion

0: RawMotion
RawFlow

Tuple Fields of RawFlow

0: RawFlow
State

Tuple Fields of State

0: State
Attitude

Tuple Fields of Attitude

0: Attitude
Position

Tuple Fields of Position

0: Position
PositionVelocity

Tuple Fields of PositionVelocity

0: PositionVelocity
Motion

Tuple Fields of Motion

0: Motion
Range

Tuple Fields of Range

0: Range
Count

Tuple Fields of Count

0: Count
Bias

Tuple Fields of Bias

0: Bias
Trim

Tuple Fields of Trim

0: Trim
LostConnection

Tuple Fields of LostConnection

0: LostConnection
MagnetometerOffset

Tuple Fields of MagnetometerOffset

0: MagnetometerOffset
MotorV

Tuple Fields of MotorV

0: MotorV
MotorRV

Tuple Fields of MotorRV

0: MotorRV
MotorVA

Tuple Fields of MotorVA

0: MotorVA
MotorRVA

Tuple Fields of MotorRVA

0: MotorRVA
MotorSingleV

Tuple Fields of MotorSingleV

0: MotorSingleV
MotorSingleRV

Tuple Fields of MotorSingleRV

0: MotorSingleRV
Melody

Tuple Fields of Melody

0: Melody
BuzzerScale

Tuple Fields of BuzzerScale

0: BuzzerScale
BuzzerHz

Tuple Fields of BuzzerHz

0: BuzzerHz
Button

Tuple Fields of Button

0: Button
Joystick

Tuple Fields of Joystick

0: Joystick
DisplayClearAll

Tuple Fields of DisplayClearAll

0: ClearAll
DisplayClear

Tuple Fields of DisplayClear

0: Clear
DisplayInvert

Tuple Fields of DisplayInvert

0: Invert
DisplayDrawPoint

Tuple Fields of DisplayDrawPoint

0: DrawPoint
DisplayDrawLine

Tuple Fields of DisplayDrawLine

0: DrawLine
DisplayDrawRect

Tuple Fields of DisplayDrawRect

0: DrawRect
DisplayDrawCircle

Tuple Fields of DisplayDrawCircle

0: DrawCircle
DisplayDrawString

Tuple Fields of DisplayDrawString

0: DrawString
DisplayDrawStringAlign

Tuple Fields of DisplayDrawStringAlign

0: DrawStringAlign
DisplayDrawImage

Tuple Fields of DisplayDrawImage

0: DrawImage
CardClassify

Tuple Fields of CardClassify

0: Classify
CardRange

Tuple Fields of CardRange

0: Range
CardRaw

Tuple Fields of CardRaw

0: Raw
CardColor

Tuple Fields of CardColor

0: Color
CardListCard

Tuple Fields of CardListCard

0: ListCard
CardListFunction

Tuple Fields of CardListFunction

0: ListFunction
NavigationTargetMove

Tuple Fields of NavigationTargetMove

0: TargetMove
NavigationTargetAction

Tuple Fields of NavigationTargetAction

0: TargetAction
NavigationLocation

Tuple Fields of NavigationLocation

0: Location
NavigationMonitor

Tuple Fields of NavigationMonitor

0: Monitor
NavigationHeading

Tuple Fields of NavigationHeading

0: Heading
NavigationCounter

Tuple Fields of NavigationCounter

0: Counter
NavigationSatellite

Tuple Fields of NavigationSatellite

0: Satellite
NavigationLocationAdjust

Tuple Fields of NavigationLocationAdjust

0: LocationAdjust
ExternalSystemState

Tuple Fields of ExternalSystemState

0: State
ExternalSystemCommand

Tuple Fields of ExternalSystemCommand

0: Command
ExternalCameraState

Tuple Fields of ExternalCameraState

0: State
ExternalCameraCommand

Tuple Fields of ExternalCameraCommand

0: Command

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.