Enum tendermint_rpc::Method[][src]

pub enum Method {
    AbciInfo,
    AbciQuery,
    Block,
    BlockResults,
    Blockchain,
    BroadcastTxAsync,
    BroadcastTxSync,
    BroadcastTxCommit,
    Commit,
    ConsensusState,
    Genesis,
    Health,
    NetInfo,
    Status,
    TxSearch,
    Validators,
    Subscribe,
    Unsubscribe,
    BroadcastEvidence,
}

JSON-RPC request methods.

Serialized as the “method” field of JSON-RPC/HTTP requests.

Variants

AbciInfo

Get ABCI info

AbciQuery

Get ABCI query

Block

Get block info

BlockResults

Get ABCI results for a particular block

Blockchain

Get blockchain info

BroadcastTxAsync

Broadcast transaction asynchronously

BroadcastTxSync

Broadcast transaction synchronously

BroadcastTxCommit

Broadcast transaction commit

Commit

Get commit info for a block

ConsensusState

Get consensus state

Genesis

Get genesis file

Health

Get health info

NetInfo

Get network info

Status

Get node status

TxSearch

Search for transactions with their results

Validators

Get validator info for a block

Subscribe

Subscribe to events

Unsubscribe

Unsubscribe from events

BroadcastEvidence

Broadcast evidence

Implementations

impl Method[src]

pub fn as_str(self) -> &'static str[src]

Get a static string which represents this method name

Trait Implementations

impl Clone for Method[src]

impl Copy for Method[src]

impl Debug for Method[src]

impl<'de> Deserialize<'de> for Method[src]

impl Display for Method[src]

impl Eq for Method[src]

impl FromStr for Method[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Method[src]

impl PartialEq<Method> for Method[src]

impl Serialize for Method[src]

impl StructuralEq for Method[src]

impl StructuralPartialEq for Method[src]

Auto Trait Implementations

impl RefUnwindSafe for Method

impl Send for Method

impl Sync for Method

impl Unpin for Method

impl UnwindSafe for Method

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,