Enum jsonrpc_core_client::transports::ClientResponse [−][src]
pub enum ClientResponse { Output(Output), Notification(Notification), }
A type representing all possible values sent from the server to the client.
Variants
Output(Output)
A regular JSON-RPC request output (single response).
Notification(Notification)
A notification.
Implementations
impl ClientResponse
[src]
impl ClientResponse
[src]Trait Implementations
impl Clone for ClientResponse
[src]
impl Clone for ClientResponse
[src]pub fn clone(&self) -> ClientResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClientResponse
[src]
impl Debug for ClientResponse
[src]impl<'de> Deserialize<'de> for ClientResponse
[src]
impl<'de> Deserialize<'de> for ClientResponse
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ClientResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<ClientResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<ClientResponse> for ClientResponse
[src]
impl PartialEq<ClientResponse> for ClientResponse
[src]pub fn eq(&self, other: &ClientResponse) -> bool
[src]
pub fn ne(&self, other: &ClientResponse) -> bool
[src]
impl Serialize for ClientResponse
[src]
impl Serialize for ClientResponse
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,