[][src]Enum buttplug::core::messages::ButtplugServerMessage

pub enum ButtplugServerMessage {
    Ok(Ok),
    Error(Error),
    Test(Test),
    Log(Log),
    ServerInfo(ServerInfo),
    DeviceList(DeviceList),
    DeviceAdded(DeviceAdded),
    DeviceRemoved(DeviceRemoved),
    ScanningFinished(ScanningFinished),
    RawReading(RawReading),
    BatteryLevelReading(BatteryLevelReading),
    RSSILevelReading(RSSILevelReading),
}

Represents all possible messages a ButtplugServer can send to a ButtplugClient.

Variants

Ok(Ok)
Error(Error)
Test(Test)
Log(Log)
ServerInfo(ServerInfo)
DeviceList(DeviceList)
DeviceAdded(DeviceAdded)
DeviceRemoved(DeviceRemoved)
ScanningFinished(ScanningFinished)
RawReading(RawReading)
BatteryLevelReading(BatteryLevelReading)
RSSILevelReading(RSSILevelReading)

Trait Implementations

impl ButtplugMessage for ButtplugServerMessage[src]

impl ButtplugServerMessageType for ButtplugServerMessage[src]

impl Clone for ButtplugServerMessage[src]

impl Debug for ButtplugServerMessage[src]

impl From<BatteryLevelReading> for ButtplugServerMessage[src]

impl From<DeviceAdded> for ButtplugServerMessage[src]

impl From<DeviceList> for ButtplugServerMessage[src]

impl From<DeviceRemoved> for ButtplugServerMessage[src]

impl From<Error> for ButtplugServerMessage[src]

impl From<Log> for ButtplugServerMessage[src]

impl From<Ok> for ButtplugServerMessage[src]

impl From<RSSILevelReading> for ButtplugServerMessage[src]

impl From<RawReading> for ButtplugServerMessage[src]

impl From<ScanningFinished> for ButtplugServerMessage[src]

impl From<ServerInfo> for ButtplugServerMessage[src]

impl From<Test> for ButtplugServerMessage[src]

impl PartialEq<ButtplugServerMessage> for ButtplugServerMessage[src]

impl StructuralPartialEq for ButtplugServerMessage[src]

impl TryFrom<ButtplugServerMessage> for ButtplugSpecV2ServerMessage[src]

type Error = ButtplugMessageError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> GetTypeId for T where
    T: Any
[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]