[−][src]Enum buttplug::client::internal::ButtplugClientMessage
Enum used for communication from the client to the event loop.
Variants
Connect(Box<dyn ButtplugClientConnector>, ButtplugClientConnectionStateShared)
Client request to connect, via the included connector instance.
Once connection is finished, use the bundled future to resolve.
Disconnect(ButtplugClientConnectionStateShared)
Client request to disconnect, via already sent connector instance.
HandleDeviceList(DeviceList)
Given a DeviceList message, update the inner loop values and create events for additions.
RequestDeviceList(ButtplugClientFutureStateShared<Vec<ButtplugClientDevice>>)
Return new ButtplugClientDevice instances for all known and currently connected devices.
Message(ButtplugClientMessageFuturePair)
Client request to send a message via the connector.
Bundled future should have reply set and waker called when this is finished.
Auto Trait Implementations
impl Send for ButtplugClientMessage
impl !Sync for ButtplugClientMessage
impl Unpin for ButtplugClientMessage
impl !UnwindSafe for ButtplugClientMessage
impl !RefUnwindSafe for ButtplugClientMessage
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,