Expand description
Middle-level API for RPC connections
This module focuses around the RpcConn
type, which supports sending RPC requests
and matching them with their responses.
Re-exports§
pub use builder::BuilderError;
pub use builder::ConnPtDescription;
pub use builder::RpcConnBuilder;
pub use connimpl::RpcConn;
pub use stream::StreamError;
Modules§
- auth 🔒
- Authentication for RpcConn.
- builder 🔒
- Functionality to connect to an RPC server.
- connimpl 🔒
- Implementation logic for RpcConn.
- stream 🔒
- Support for RPC-visible connections through Arti.
Structs§
- Connect
Failure - A set of errors encountered while trying to connect to the Arti process
- Connect
Failure Verbose Fmt - Helper type to format a ConnectFailure along with all of its internal errors, including non-fatal errors.
- Empty
Reply 🔒 - A reply with no data.
- Error
Response - A Error Response from Arti, indicating that an error occurred.
- NoParams 🔒
- Arguments to a request that takes no parameters.
- Request
Handle - A handle to an open request.
- Success
Response - A Success Response from Arti, indicating that a request was successful.
- Unexpected
Reply - In response to a request that we generated internally, Arti gave a reply that we did not understand.
- Update
Response - An Update Response from Arti, with information about the progress of a request.
Enums§
- AnyResponse
- Any of the three types of Arti responses.
- Connect
Error - An error while trying to connect to the Arti process.
- Proto
Error - An error that has occurred while launching an RPC command.
- Shutdown
Error - An error (or other condition) that has caused an RPC connection to shut down.
- Unexpected
Reply 🔒Problem - Underlying reason for an UnexpectedReply
Type Aliases§
- Final
Response 🔒 - A final response – that is, the last one that we expect to receive for a request.