Enum jsonrpc_client_transports::transports::ClientResponse [−][src]
pub enum ClientResponse {
Output(Output),
Notification(Notification),
}
Expand description
A type representing all possible values sent from the server to the client.
Variants
Output(Output)
A regular JSON-RPC request output (single response).
Tuple Fields of Output
0: Output
Notification(Notification)
A notification.
Tuple Fields of Notification
0: Notification
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ClientResponse
impl Send for ClientResponse
impl Sync for ClientResponse
impl Unpin for ClientResponse
impl UnwindSafe for ClientResponse
Blanket Implementations
Mutably borrows from an owned value. Read more