[][src]Trait tendermint::rpc::request::Request

pub trait Request: Debug + DeserializeOwned + Serialize + Sized {
    type Response: Response;
    fn method(&self) -> Method;

    fn into_json(self) -> String { ... }
}

JSONRPC requests

Associated Types

type Response: Response

Response type for this command

Loading content...

Required methods

fn method(&self) -> Method

Request method

Loading content...

Provided methods

fn into_json(self) -> String

Serialize this request as JSON

Loading content...

Implementors

impl Request for tendermint::rpc::endpoint::abci_info::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::abci_query::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::block::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::block_results::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::blockchain::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::broadcast::tx_async::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::broadcast::tx_commit::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::broadcast::tx_sync::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::commit::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::genesis::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::health::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::net_info::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::status::Request[src]

type Response = Response

impl Request for tendermint::rpc::endpoint::validators::Request[src]

type Response = Response

Loading content...