Skip to main content

Module mgr

Module mgr 

Source
Expand description

Top-level RpcMgr to launch sessions.

Re-exportsยง

use std::sync::Arc; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use std::sync::RwLock; ๐Ÿ”’
use std::sync::Weak; ๐Ÿ”’
use rand::RngExt; ๐Ÿ”’
use rpc::InvalidRpcIdentifier; ๐Ÿ”’
use tor_rpcbase as rpc; ๐Ÿ”’
use tracing::warn; ๐Ÿ”’
use crate::RpcAuthentication; ๐Ÿ”’
use crate::connection::Connection; ๐Ÿ”’
use crate::connection::ConnectionId; ๐Ÿ”’
use crate::globalid::GlobalId; ๐Ÿ”’
use crate::globalid::MacKey; ๐Ÿ”’

Structsยง

Inner ๐Ÿ”’
The RpcMgrโ€™s state. This is kept inside a lock for interior mutability.
RpcMgr
Shared state, configuration, and data for all RPC sessions.

Enumsยง

RpcMgrError
An error from creating or using an RpcMgr.

Type Aliasesยง

ObjectWithContext ๐Ÿ”’
An rpc::Object, along with its associated rpc::Context.
WeakValueHashMap ๐Ÿ”’
Alias to force use of RandomState, regardless of features enabled in weak_tables.