bitfold_host/
lib.rs

1#![warn(missing_docs)]
2
3//! Host socket and session manager for transport and peer coordination.
4
5/// Event and action types (Action, SocketEvent).
6pub mod event_types;
7/// Session trait for managing a peer lifecycle.
8pub mod session;
9/// Session manager for handling multiple peer sessions.
10pub mod session_manager;
11/// High-level socket API wrapping session manager.
12pub mod socket;
13/// Throughput monitoring utilities.
14pub mod throughput;
15/// Time utilities for the host.
16pub mod time;
17
18mod peer_session;
19
20pub use event_types::{Action, SocketEvent};
21pub use session::{Session, SessionEventAddress};
22pub use session_manager::SessionManager;
23pub use socket::Host;