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