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

pub trait ButtplugDeviceImplCreator: Sync + Send {
    fn get_specifier(&self) -> DeviceSpecifier;
#[must_use] 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

fn get_specifier(&self) -> DeviceSpecifier

#[must_use]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, 

Loading content...

Implementors

impl ButtplugDeviceImplCreator for LovenseDongleDeviceImplCreator[src]

impl ButtplugDeviceImplCreator for SerialPortDeviceImplCreator[src]

impl ButtplugDeviceImplCreator for TestDeviceImplCreator[src]

Loading content...