Skip to main content

Crate platform

Crate platform 

Source
Expand description

Base 基础设施库

为 Actrix 辅助服务提供基础设施组件,包括身份管理、加密、监控、存储、Realm 管理等核心功能

Re-exports§

pub use aid::AIdCredentialValidator;
pub use aid::AidError;
pub use aid::IdentityClaims;
pub use error::BaseError;
pub use error::ConfigError;
pub use error::DatabaseError;
pub use error::NetworkError;
pub use error::Result;
pub use error::SerializationError;
pub use error::StorageError;
pub use error::ValidationError;
pub use monitoring::MetricSample;
pub use monitoring::MetricsStore;
pub use monitoring::ServiceCollector;
pub use monitoring::ServiceCounters;
pub use monitoring::ServiceInfo;
pub use monitoring::ServiceState;
pub use monitoring::ServiceType;
pub use realm::ActorAcl;
pub use realm::Realm;
pub use realm::RealmError;
pub use storage::SqliteNonceStorage;
pub use types::PeerId;
pub use types::RealmId;
pub use util::TlsConfigurer;

Modules§

aid
Actor Identity 管理模块
config
统一配置管理系统
error
错误处理模块
metrics
Prometheus 监控指标模块
monitoring
监控模块
realm
Realm 管理模块
recording
Unified runtime recording model.
status
storage
存储模块
token
types
util
TLS 配置模块

Macros§

recording_debug
recording_error
recording_info
recording_log
Macro entry-point.
recording_observability_log
Emit a minimal observability record from format-style log arguments.
recording_trace
recording_warn

Structs§

AIdCredential
Credential structure for ActrId authentication
ActrId