[][src]Trait buttplug::server::wrapper::ButtplugServerWrapper

pub trait ButtplugServerWrapper<'a> {
    type Input;
    type Output;
#[must_use]    fn parse_message<'life0, 'async_trait>(
        &'life0 mut self,
        msg: Self::Input
    ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn server_ref(&'a mut self) -> &'a mut ButtplugServer; }

Associated Types

type Input

type Output

Loading content...

Required methods

#[must_use]fn parse_message<'life0, 'async_trait>(
    &'life0 mut self,
    msg: Self::Input
) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

fn server_ref(&'a mut self) -> &'a mut ButtplugServer

Loading content...

Implementors

impl<'a> ButtplugServerWrapper<'a> for ButtplugInProcessServerWrapper[src]

type Input = ButtplugClientInMessage

type Output = ButtplugClientOutMessage

impl<'a> ButtplugServerWrapper<'a> for ButtplugJSONServerWrapper[src]

type Input = String

type Output = String

Loading content...