Enum jsonrpc_core::response::SyncOutput [] [src]

pub enum SyncOutput {
    Success(Success),
    Failure(Failure),
}

Represents synchronous output - failure or success

Variants

Success

Failure

Methods

impl SyncOutput
[src]

Creates new synchronous output given Result, Id and Version.

Trait Implementations

impl PartialEq for SyncOutput
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for SyncOutput
[src]

Formats the value using the given formatter.

impl Deserialize for SyncOutput
[src]

Deserialize this value given this Deserializer.

impl Serialize for SyncOutput
[src]

Serializes this value into this serializer.