[][src]Module buttplug::core::messages

Structs representing low level Buttplug Protocol messages

Structs

DeviceAdded
DeviceAddedV0
DeviceAddedV1
DeviceList
DeviceListV0
DeviceListV1
DeviceMessageInfo
DeviceRemoved
Error

Represents the Buttplug Protocol Error message, as documented in the Buttplug Protocol Spec.

FleshlightLaunchFW12Cmd
KiirooCmd
LinearCmd
Log
LovenseCmd
MessageAttributes
Ok

Represents the Buttplug Protocol Ok message, as documented in the Buttplug Protocol Spec.

Ping
RawReadCmd
RawReading
RawWriteCmd
RequestDeviceList
RequestLog
RequestServerInfo
RotateCmd
RotationSubcommand
ScanningFinished
ServerInfo
ServerInfoV0
SingleMotorVibrateCmd
StartScanning
StopAllDevices
StopDeviceCmd
StopScanning
SubscribeCmd
Test
UnsubscribeCmd
VectorSubcommand
VibrateCmd
VibrateSubcommand
VorzeA10CycloneCmd

Enums

ButtplugDeviceCommandMessageUnion

Messages that should be routed to device instances.

ButtplugDeviceManagerMessageUnion

Messages that should never be received from the client.

ButtplugDeviceMessageType
ButtplugInMessage
ButtplugMessageSpecVersion
ButtplugMessageType
ButtplugOutMessage
ButtplugSpecV2InMessage
ButtplugSpecV2OutMessage
ErrorCode

Error codes pertaining to error classes that can be represented in the Buttplug Error message.

LogLevel

Constants

BUTTPLUG_CURRENT_MESSAGE_SPEC_VERSION

Traits

ButtplugDeviceMessage
ButtplugMessage

Base trait for all Buttplug Protocol Message Structs. Handles management of message ids, as well as implementing conveinence functions for converting between message structs and [ButtplugMessageUnion] enums, serialization, etc...

Functions

create_message_validator

Type Definitions

ButtplugClientInMessage
ButtplugClientOutMessage
MessageAttributesMap