Enum jsonrpc_core::response::Response [] [src]

pub enum Response {
    Single(Output),
    Batch(Vec<Output>),
}

Synchronous response

Variants

Single response

Response to batch request (batch of responses)

Trait Implementations

impl PartialEq for Response
[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 Response
[src]

Formats the value using the given formatter.

impl Deserialize for Response
[src]

Deserialize this value given this Deserializer.

impl Serialize for Response
[src]

Serializes this value into this serializer.

impl From<Failure> for Response
[src]

Performs the conversion.

impl From<Success> for Response
[src]

Performs the conversion.