[][src]Module buttplug::core::errors

Structs

ButtplugDeviceError

Device errors occur during device interactions, including sending unsupported message commands, addressing the wrong number of device attributes, etc...

ButtplugHandshakeError

Handshake errors occur while a client is connecting to a server. This usually involves protocol handshake errors. For connector errors (i.e. when a remote network connection cannot be established), see crate::client::connector::ButtplugClientConnectorError.

ButtplugMessageError

Message errors occur when a message is somehow malformed on creation, or received unexpectedly by a client or server.

ButtplugPingError

Ping errors occur when a server requires a ping response (set up during connection handshake), and the client does not return a response in the alloted timeframe. This also signifies a server disconnect.

ButtplugUnknownError

Unknown errors occur in exceptional circumstances where no other error type will suffice. These are rare and usually fatal (disconnecting) errors.

Enums

ButtplugError

Aggregation enum for protocol error types.