Enum jsonrpc_core::response::Output [] [src]

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

Variants

Success(Success)Failure(Failure)

Trait Implementations

impl Debug for Output
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Output
[src]

fn eq(&self, __arg_0: &Output) -> bool

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

fn ne(&self, __arg_0: &Output) -> bool

This method tests for !=.

impl Serialize for Output
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.