pub trait HostCallTargetInterface {
    // Required methods
    fn new<'life0, 'async_trait>(
        &'life0 mut self,
        namespace: String,
        package: String,
        interface: String,
    ) -> Pin<Box<dyn Future<Output = Result<Resource<CallTargetInterface>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn drop<'life0, 'async_trait>(
        &'life0 mut self,
        rep: Resource<CallTargetInterface>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn new<'life0, 'async_trait>( &'life0 mut self, namespace: String, package: String, interface: String, ) -> Pin<Box<dyn Future<Output = Result<Resource<CallTargetInterface>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn drop<'life0, 'async_trait>( &'life0 mut self, rep: Resource<CallTargetInterface>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl<_T: HostCallTargetInterface + ?Sized + Send> HostCallTargetInterface for &mut _T

source§

fn new<'life0, 'async_trait>( &'life0 mut self, namespace: String, package: String, interface: String, ) -> Pin<Box<dyn Future<Output = Result<Resource<CallTargetInterface>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn drop<'life0, 'async_trait>( &'life0 mut self, rep: Resource<CallTargetInterface>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§