Trait DispatchStringTupleAsync

Source
pub trait DispatchStringTupleAsync {
    type Error: Error;

    // Required method
    fn dispatch<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        method: &'life1 str,
        arguments: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error<Self::Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn dispatch<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, method: &'life1 str, arguments: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<String, Error<Self::Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementations on Foreign Types§

Source§

impl<T> DispatchStringTupleAsync for Arc<T>
where T: DispatchStringTupleAsync + Send + Sync + 'static + ?Sized,

Source§

type Error = <T as DispatchStringTupleAsync>::Error

Source§

fn dispatch<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, method: &'life1 str, arguments: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<String, Error<Self::Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§