Available on crate feature
rpc
only.Expand description
Declare RPC functionality on for the arti-client
crate.
Modules§
- seal 🔒
- module to seal the ClientConnectionError trait.
Structs§
- Client
Status 🔒Info - Reported bootstrap and health information for a client.
- Connect
With Prefs - RPC special method: make a connection to a chosen address and preferences.
- GetClient
Status 🔒 - Return current bootstrap and health information for a client.
- Isolated
Client - Create a new isolated client instance.
- Resolve
PtrWith Prefs - RPC special method: reverse-lookup an address with a chosen address and preferences.
- Resolve
With Prefs - RPC special method: lookup an address with a chosen address and preferences.
- Watch
Client 🔒Status - Run forever, delivering updates about a client’s bootstrap and health information.
Traits§
- Client
Connection Error - Type-erased error returned by ClientConnectionTarget.
Functions§
- client_
connect_ 🔒with_ prefs - RPC method implementation: start a connection on a
TorClient
. - client_
resolve_ 🔒ptr_ with_ prefs - RPC method implementation: perform a remote DNS reverse lookup using a
TorClient
. - client_
resolve_ 🔒with_ prefs - RPC method implementation: perform a remote DNS lookup using a
TorClient
. - get_
client_ 🔒status - Invocable function to run
GetClientStatus
on aTorClient
. - isolated_
client 🔒 - RPC method implementation: return a new isolated client based on a given client.
- watch_
client_ 🔒status - Invocable function to run
WatchClientStatus
on aTorClient
.
Type Aliases§
- Client
Connection Result - Type alias for a Result return by ClientConnectionTarget