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
GetClientStatuson aTorClient. - isolated_
client π - RPC method implementation: return a new isolated client based on a given client.
- watch_
client_ πstatus - Invocable function to run
WatchClientStatuson aTorClient.
Type AliasesΒ§
- Client
Connection Result - Type alias for a Result return by ClientConnectionTarget