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