pub trait SyncCall<O>where
O: for<'de> ArgumentDecoder<'de> + Send,{
// Required methods
fn call_raw<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, AgentError>> + Send + 'async_trait>>
where Self: 'async_trait;
fn call<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<O, AgentError>> + Send + 'async_trait>>
where Self: Sized + Send + 'async_trait,
O: 'async_trait;
}Expand description
A type that implements synchronous calls (ie. ‘query’ calls).