[][src]Trait jsonrpc_sdk_prelude::JsonRpcRequest

pub trait JsonRpcRequest where
    Self: TryInto<Params> + Sized
{ type Output: TryFrom<Value>; fn method() -> &'static str; fn to_string(self, c: CommonPart) -> Result<String> { ... }
fn to_single_request(self, c: CommonPart) -> Result<Request> { ... }
fn to_call(self, c: CommonPart) -> Result<Call> { ... }
fn parse_single_response(response: Response) -> Result<Self::Output> { ... } }

Associated Types

Loading content...

Required methods

fn method() -> &'static str

Loading content...

Provided methods

Loading content...

Implementors

Loading content...