[][src]Trait buttplug::device::ButtplugDeviceImplCreator

pub trait ButtplugDeviceImplCreator: Sync + Send {
    pub fn get_specifier(&self) -> DeviceSpecifier;
#[must_use] pub fn try_create_device_impl<'life0, 'async_trait>(
        &'life0 mut self,
        protocol: ProtocolDefinition
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn DeviceImpl>, ButtplugError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

pub fn get_specifier(&self) -> DeviceSpecifier[src]

#[must_use]pub fn try_create_device_impl<'life0, 'async_trait>(
    &'life0 mut self,
    protocol: ProtocolDefinition
) -> Pin<Box<dyn Future<Output = Result<Box<dyn DeviceImpl>, ButtplugError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl ButtplugDeviceImplCreator for LovenseDongleDeviceImplCreator[src]

impl ButtplugDeviceImplCreator for SerialPortDeviceImplCreator[src]

impl ButtplugDeviceImplCreator for TestDeviceImplCreator[src]

Loading content...