pub trait CitreaRpcClient: ClientT {
// Provided method
fn get_proof<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 str,
storage_keys: Vec<String>,
block: String,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Expand description
Client implementation for the CitreaRpc
RPC API.
Provided Methods§
fn get_proof<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 str,
storage_keys: Vec<String>,
block: String,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.