Skip to main content

Crate buttplug

Crate buttplug 

Source

Modules§

client_event_loop
Implementation of internal Buttplug Client event loop.
client_message_sorter
Handling of remote message pairing and future resolution.
connector
device
serializer
websocket_client
Handling of websockets using async-tungstenite
websocket_server

Structs§

ButtplugClient
Struct used by applications to communicate with a Buttplug Server.
ButtplugClientDevice
Client-usable representation of device connected to the corresponding [ButtplugServer][crate::server::ButtplugServer]
ButtplugClientMessageFuturePair
Future state for messages sent from the client that expect a server response.
ButtplugWebsocketClientTransport
Websocket connector for ButtplugClients, using tokio_tungstenite
ButtplugWebsocketServerTransport
Websocket connector for ButtplugClients, using tokio_tungstenite
ButtplugWebsocketServerTransportBuilder

Enums§

ButtplugClientDeviceEvent
Enum for messages going to a ButtplugClientDevice instance.
ButtplugClientError
Represents all of the different types of errors a ButtplugClient can return.
ButtplugClientEvent
Enum representing different events that can be emitted by a client.
TungsteniteError
Possible WebSocket errors.

Type Aliases§

ButtplugServerMessageResult
Result type used for passing server responses.
ButtplugServerMessageResultFuture