Crate arti_rpc_client_core

Source
Expand description

§arti-rpc-client-core

Client library for Arti RPC

§Overview

This crate provides the recommended mechanism for connecting to Arti over RPC. It provides a set of APIs, along with FFI wrappers, to open a connection to Arti, send requests, and receive replies.

For more information about the Arti RPC system, see the arti rpc book.

License: MIT OR Apache-2.0

Modules§

ffi
Exposed C APIs for arti-rpc-client-core.
llconn
Lowest-level API interface to an active RPC connection.

Structs§

ConnPtDescription
Diagnostic: An explanation of where we found a connect point, and why we looked there.
ConnectFailure
A set of errors encountered while trying to connect to the Arti process
ObjectId
An identifier for some object visible to the Arti RPC system.
RpcConn
An open RPC connection to Arti.
RpcConnBuilder
Information about how to construct a connection to an Arti instance.
RpcError
An error sent by Arti, decoded into its parts.

Enums§

AnyRequestId
An identifier for a request made to the Arti RPC system.
BuilderError
An error occurred while trying to construct or manipulate an RpcConnBuilder.
ConnectError
An error while trying to connect to the Arti process.
InvalidRequestError
An error that has prevented us from validating an request.
ProtoError
An error that has occurred while launching an RPC command.
StreamError
An error encountered while trying to open a data stream.