mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
9895248bbf
Document the hook lifecycle, ingress rules, and longest-prefix routing behavior so the tree endpoint code is easier to follow. Keep the pass behavior-neutral while tightening local names and comments around non-obvious protocol paths.
17 lines
451 B
Rust
17 lines
451 B
Rust
//! Protocol-tree endpoint runtime.
|
|
//!
|
|
//! This module holds the state machine that validates ingress, decides whether a
|
|
//! packet should be handled locally or forwarded, and manages hook lifetimes for
|
|
//! call/data/fault exchanges.
|
|
|
|
mod builders;
|
|
mod core;
|
|
mod hooks;
|
|
mod introspection;
|
|
mod receive;
|
|
|
|
pub use core::{
|
|
ChildRoute, ConnectionState, Endpoint, EndpointError, EndpointOutcome, Ingress, LeafSpec,
|
|
LocalEvent, ProtocolEndpoint,
|
|
};
|