Trait LelumProxyChain
pub trait LelumProxyChain<'c, S, ReplyParams, ReplyError>{
// Required methods
fn health(self) -> Result<Chain<'c, S, ReplyParams, ReplyError>>;
fn read<'__proxy_params>(
self,
path: &'__proxy_params str,
) -> Result<Chain<'c, S, ReplyParams, ReplyError>>;
fn query<'__proxy_params>(
self,
root: Option<&'__proxy_params str>,
depth: Option<u32>,
include_values: bool,
) -> Result<Chain<'c, S, ReplyParams, ReplyError>>;
fn update<'__proxy_params>(
self,
path: &'__proxy_params str,
value: &'__proxy_params Value,
) -> Result<Chain<'c, S, ReplyParams, ReplyError>>;
}Available on crate feature
client only.Expand description
Extension trait for adding proxy calls to any chain.
This trait provides methods to add proxy calls to a chain of method calls.
Required Methods§
fn health(self) -> Result<Chain<'c, S, ReplyParams, ReplyError>>
fn health(self) -> Result<Chain<'c, S, ReplyParams, ReplyError>>
Add a #method_name call to this chain.
fn read<'__proxy_params>(
self,
path: &'__proxy_params str,
) -> Result<Chain<'c, S, ReplyParams, ReplyError>>
fn read<'__proxy_params>( self, path: &'__proxy_params str, ) -> Result<Chain<'c, S, ReplyParams, ReplyError>>
Add a #method_name call to this chain.