[][src]Trait casper_node::rpcs::RpcWithoutParams

pub trait RpcWithoutParams {
    type ResponseResult: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static;

    pub const METHOD: &'static str;
}

A JSON-RPC requiring the "params" field to be absent.

Associated Types

type ResponseResult: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static[src]

The JSON-RPC response's "result" type.

Loading content...

Associated Constants

pub const METHOD: &'static str[src]

The JSON-RPC "method" name.

Loading content...

Implementors

impl RpcWithoutParams for ListRpcs[src]

type ResponseResult = ListRpcsResult

impl RpcWithoutParams for GetPeers[src]

type ResponseResult = GetPeersResult

impl RpcWithoutParams for GetStatus[src]

type ResponseResult = GetStatusResult

impl RpcWithoutParams for GetAuctionInfo[src]

Loading content...