[−][src]Trait buttplug::device::DeviceImpl
Required methods
fn name(&self) -> &str
fn address(&self) -> &str
fn connected(&self) -> bool
fn endpoints(&self) -> Vec<Endpoint>
fn get_event_receiver(&self) -> BoundedDeviceEventBroadcaster
fn disconnect(&self) -> ButtplugResultFuture
fn read_value(
&self,
msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
&self,
msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
fn write_value(&self, msg: DeviceWriteCmd) -> ButtplugResultFuture
fn subscribe(&self, msg: DeviceSubscribeCmd) -> ButtplugResultFuture
fn unsubscribe(&self, msg: DeviceUnsubscribeCmd) -> ButtplugResultFuture
Implementors
impl DeviceImpl for LovenseDongleDeviceImpl
[src]
fn name(&self) -> &str
[src]
fn address(&self) -> &str
[src]
fn connected(&self) -> bool
[src]
fn endpoints(&self) -> Vec<Endpoint>
[src]
fn disconnect(&self) -> ButtplugResultFuture
[src]
fn get_event_receiver(&self) -> BoundedDeviceEventBroadcaster
[src]
fn read_value(
&self,
_msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
[src]
&self,
_msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
fn write_value(&self, msg: DeviceWriteCmd) -> ButtplugResultFuture
[src]
fn subscribe(&self, _msg: DeviceSubscribeCmd) -> ButtplugResultFuture
[src]
fn unsubscribe(&self, _msg: DeviceUnsubscribeCmd) -> ButtplugResultFuture
[src]
impl DeviceImpl for SerialPortDeviceImpl
[src]
fn name(&self) -> &str
[src]
fn address(&self) -> &str
[src]
fn connected(&self) -> bool
[src]
fn endpoints(&self) -> Vec<Endpoint>
[src]
fn disconnect(&self) -> ButtplugResultFuture
[src]
fn get_event_receiver(&self) -> BoundedDeviceEventBroadcaster
[src]
fn read_value(
&self,
_msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
[src]
&self,
_msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
fn write_value(&self, msg: DeviceWriteCmd) -> ButtplugResultFuture
[src]
fn subscribe(&self, _msg: DeviceSubscribeCmd) -> ButtplugResultFuture
[src]
fn unsubscribe(&self, _msg: DeviceUnsubscribeCmd) -> ButtplugResultFuture
[src]
impl DeviceImpl for TestDevice
[src]
fn name(&self) -> &str
[src]
fn address(&self) -> &str
[src]
fn connected(&self) -> bool
[src]
fn endpoints(&self) -> Vec<Endpoint>
[src]
fn disconnect(&self) -> ButtplugResultFuture
[src]
fn get_event_receiver(&self) -> BoundedDeviceEventBroadcaster
[src]
fn read_value(
&self,
msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>
[src]
&self,
msg: DeviceReadCmd
) -> BoxFuture<'static, Result<RawReading, ButtplugError>>