2026-04-24 12:32:24 -06:00
|
|
|
//! Explicit tree declaration, routing, and a small endpoint runtime.
|
2026-04-25 13:34:18 -06:00
|
|
|
//!
|
|
|
|
|
//! This module keeps the protocol tree machinery split by concern:
|
|
|
|
|
//! - `routing` contains static path declarations and longest-prefix routing helpers.
|
|
|
|
|
//! - `hook` contains the pending/active hook lifecycle tables used by endpoint runtime code.
|
|
|
|
|
//! - `endpoint` ties those pieces together into the runtime-facing protocol endpoint API.
|
2026-02-09 10:27:15 -07:00
|
|
|
|
2026-04-24 12:32:24 -06:00
|
|
|
mod endpoint;
|
|
|
|
|
mod hook;
|
|
|
|
|
mod routing;
|
2026-03-17 17:29:36 -06:00
|
|
|
|
2026-04-24 12:32:24 -06:00
|
|
|
pub use endpoint::{
|
2026-04-25 11:27:29 -06:00
|
|
|
ChildRoute, ConnectionState, Endpoint, EndpointError, EndpointOutcome, Ingress, LeafSpec,
|
|
|
|
|
LocalEvent, ProtocolEndpoint,
|
2026-04-20 23:38:02 -06:00
|
|
|
};
|
2026-04-25 12:15:38 -06:00
|
|
|
pub use hook::{ActiveHook, HookConflict, HookKey, HookTable, PendingHook};
|
2026-04-24 13:37:30 -06:00
|
|
|
pub use routing::{
|
2026-04-25 12:15:38 -06:00
|
|
|
CompiledRoutes, DefaultRouteProvider, LeafNode, RouteDecision, RouteProvider, TreeNode,
|
|
|
|
|
is_prefix, route_destination,
|
2026-04-24 13:37:30 -06:00
|
|
|
};
|