Enum jsonrpc_core::response::SyncResponse [] [src]

pub enum SyncResponse {
    Single(SyncOutput),
    Batch(Vec<SyncOutput>),
}

Synchronous response

Variants

Single response

Response to batch request (batch of responses)

Trait Implementations

impl Debug for SyncResponse
[src]

Formats the value using the given formatter.

impl PartialEq for SyncResponse
[src]

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

This method tests for !=.

impl Deserialize for SyncResponse
[src]

Deserialize this value given this Deserializer.

impl Serialize for SyncResponse
[src]

Serializes this value into this serializer.

impl From<Failure> for SyncResponse
[src]

Performs the conversion.

impl From<Success> for SyncResponse
[src]

Performs the conversion.