pub trait HostIncomingValue {
    // Required methods
    fn incoming_value_consume_sync<'life0, 'async_trait>(
        &'life0 mut self,
        this: Resource<IncomingValue>,
    ) -> Pin<Box<dyn Future<Output = Result<Result<IncomingValueSyncBody, Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn incoming_value_consume_async<'life0, 'async_trait>(
        &'life0 mut self,
        this: Resource<IncomingValue>,
    ) -> Pin<Box<dyn Future<Output = Result<Result<Resource<IncomingValueAsyncBody>, Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn size<'life0, 'async_trait>(
        &'life0 mut self,
        self_: Resource<IncomingValue>,
    ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn drop<'life0, 'async_trait>(
        &'life0 mut self,
        rep: Resource<IncomingValue>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn incoming_value_consume_sync<'life0, 'async_trait>( &'life0 mut self, this: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<Result<IncomingValueSyncBody, Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn incoming_value_consume_async<'life0, 'async_trait>( &'life0 mut self, this: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<Result<Resource<IncomingValueAsyncBody>, Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn size<'life0, 'async_trait>( &'life0 mut self, self_: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

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

Implementations on Foreign Types§

source§

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

source§

fn incoming_value_consume_sync<'life0, 'async_trait>( &'life0 mut self, this: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<Result<IncomingValueSyncBody, Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn incoming_value_consume_async<'life0, 'async_trait>( &'life0 mut self, this: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<Result<Resource<IncomingValueAsyncBody>, Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

fn size<'life0, 'async_trait>( &'life0 mut self, self_: Resource<IncomingValue>, ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source§

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

Implementors§