Skip to main content

Crate rvoip_infra_common

Crate rvoip_infra_common 

Source
Expand description

§infra-common

A common infrastructure layer for the RVOIP stack that provides:

  • Event system for inter-component communication
  • Configuration management
  • Component lifecycle management
  • Logging and metrics standardization
  • Common error types and handling

This crate serves as a horizontal layer that all other components in the RVOIP stack can leverage to ensure consistency and reduce duplication.

Re-exports§

pub use config::provider::ConfigProvider;
pub use errors::types::Error;
pub use events::bus::EventBus;
pub use events::bus::EventBusConfig;
pub use events::bus::EventPool;
pub use events::bus::Publisher;
pub use events::bus::PublisherFactory;
pub use events::types::EventError;
pub use events::types::EventPriority;
pub use events::types::EventResult;
pub use lifecycle::component::Component;
pub use logging::setup::setup_logging;

Modules§

config
Configuration System
errors
Error Handling
events
Event System
lifecycle
Lifecycle Management
logging
Logging and Metrics
planes
Federated Plane Architecture

Macros§

log_ctx
Macro for logging with a new context
log_with_context
Macro for logging with context

Constants§

VERSION
Version information