Module rpc

Source
Expand description

Experimental RPC support.

Modules§

conntarget 🔒
A wrapper around an RPC Object that can be used as a connection target.
listener 🔒
Configure and activate RPC listeners from connect points.
proxyinfo 🔒
Implement RPC functionality for finding what ports are running as proxies.
session 🔒
Declare the RPC session object as exposed from the RPC server run by the arti crate.

Structs§

ListenDefaultsBuilder
Wrapper struct to help derive_builder find the right types and methods
RpcConfig
Configuration for Arti’s RPC subsystem.
RpcConfigBuilder
Builder for RpcConfig.
RpcProxySupport
Information passed to a SOCKS proxy or similar stream provider when running with RPC support.

Functions§

launch_all_listeners 🔒
Bind to all configured RPC listeners in cfg.
launch_rpc_mgr 🔒
Create an RPC manager, bind to connect points, and open a listener task to accept incoming RPC connections.
listen_defaults_defaults 🔒
Return default values for RpcConfig.listen_default
run_rpc_listener 🔒
Backend function to implement an RPC listener: runs in a loop.

Type Aliases§

IncomingConn 🔒
Information about an incoming connection.
ListenDefaults 🔒
Type alias to enable sub_builder to work.