Skip to main content

Module msgs

Module msgs 

Source
Expand description

Message types used in the Arti’s RPC protocol.

Re-exportsΒ§

use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Serialize; πŸ”’
use serde::Serialize; πŸ”’
use tor_rpcbase as rpc; πŸ”’

ModulesΒ§

invalid πŸ”’
Variations on our message types used to give better diagnostics for unparsable requests.

StructsΒ§

BoxedResponse πŸ”’
A Response to send to an RPC client.
ReqMeta πŸ”’
Metadata associated with a single Request.
Request πŸ”’
A single Request received from an RPC client.

EnumsΒ§

FlexibleRequest πŸ”’
A request that may or may not be valid.
RequestId πŸ”’
An identifier for a Request within the context of a Session.
ResponseBody πŸ”’
The body of a response for an RPC client.