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

None
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

0: 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

0: UpdateLocation
SystemInformation(SystemInformation)

Tuple Fields of SystemInformation

0: SystemInformation
Administrator(Administrator)

Tuple Fields of Administrator

0: 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

0: 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

0: CommandLightEvent
CommandLightEventColor(CommandLightEventColor)

Tuple Fields of CommandLightEventColor

0: 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

0: LightEventCommand
BattleIrMessageLightEventCommand(IrMessageLightEventCommand)

Tuple Fields of BattleIrMessageLightEventCommand

0: IrMessageLightEventCommand
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

0: 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

0: LostConnection
MagnetometerOffset(MagnetometerOffset)

Tuple Fields of MagnetometerOffset

0: 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

0: 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

0: DrawStringAlign
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
NavigationTarget(Target)

Tuple Fields of NavigationTarget

0: Target
NavigationTargetLight(TargetLight)

Tuple Fields of NavigationTargetLight

0: TargetLight
NavigationLocation(Location)

Tuple Fields of NavigationLocation

0: Location
NavigationMonitor(Monitor)

Tuple Fields of NavigationMonitor

0: Monitor
NavigationHeading(Heading)

Tuple Fields of NavigationHeading

0: Heading
NavigationCounter(Counter)

Tuple Fields of NavigationCounter

0: Counter
NavigationSatellite(Satellite)

Tuple Fields of NavigationSatellite

0: Satellite
NavigationLocationAdjust(LocationAdjust)

Tuple Fields of NavigationLocationAdjust

0: LocationAdjust
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

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.