Skip to main content

Crate offline_protocol_router

Crate offline_protocol_router 

Source
Expand description

DORS routing and relay management for the Offline Protocol SDK.

This crate implements the Dynamic Offline Relay Switch (DORS) system for intelligent transport selection and relay management.

All code in this crate is 100% safe Rust with no unsafe blocks.

Re-exports§

pub use dors::display_routing_score;
pub use dors::DorsConfig;
pub use dors::EscalationTriggerReason;
pub use dors::TransportScore;
pub use dors::TransportScoreFactors;
pub use dors::TransportSelector;
pub use error::Error;
pub use error::Result;
pub use relay::RelayConfig;
pub use relay::RelayPriority;
pub use relay::RelayRole;
pub use relay::CRITICAL_RELAY_BATTERY_LEVEL;

Modules§

dors
DORS (Dynamic Offline Relay Switch) transport selection.
error
Router layer errors.
relay
Relay management for promotion and demotion logic.