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.