Enum jsonrpc_core::response::Response  
                   
                       [−]
                   
               [src]
pub enum Response {
    Single(Output),
    Batch(Vec<Output>),
}Synchronous response
Variants
Single(Output)Single response
Batch(Vec<Output>)Response to batch request (batch of responses)
Trait Implementations
impl PartialEq for Response[src]
fn eq(&self, __arg_0: &Response) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Response) -> bool
This method tests for !=.
impl Debug for Response[src]
impl Deserialize for Response[src]
fn deserialize<D>(deserializer: &mut D) -> Result<Response, D::Error> where D: Deserializer
Deserialize this value given this Deserializer.
impl Serialize for Response[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.