Trait ar_pe_ce_core::Rpc [−][src]
pub trait Rpc<T, O> { #[must_use] fn call<'life0, 'async_trait>(
&'life0 self,
req: T
) -> Pin<Box<dyn Future<Output = Result<O>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Required methods
#[must_use]fn call<'life0, 'async_trait>(
&'life0 self,
req: T
) -> Pin<Box<dyn Future<Output = Result<O>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn call<'life0, 'async_trait>(&'life0 self,
req: T
) -> Pin<Box<dyn Future<Output = Result<O>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,