pub struct ProxyGetRequestLayer { /* private fields */ }Expand description
Layer that applies ProxyGetRequest which proxies the GET /path requests to
specific RPC method calls and that strips the response.
See ProxyGetRequest for more details.
Implementations§
source§impl ProxyGetRequestLayer
impl ProxyGetRequestLayer
sourcepub fn new(
path: impl Into<String>,
method: impl Into<String>
) -> Result<Self, RpcError>
pub fn new(
path: impl Into<String>,
method: impl Into<String>
) -> Result<Self, RpcError>
Creates a new ProxyGetRequestLayer.
See ProxyGetRequest for more details.
Trait Implementations§
source§impl Clone for ProxyGetRequestLayer
impl Clone for ProxyGetRequestLayer
source§fn clone(&self) -> ProxyGetRequestLayer
fn clone(&self) -> ProxyGetRequestLayer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more