hopr-api 1.10.0

Common high-level external and internal API traits used by hopr-lib to implement the HOPR protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Network layer abstractions: peer connectivity, health, and stream control.
//!
//! - `NetworkView` — read-only view of network state (connected peers, health, addresses, event subscription)
//! - `NetworkStreamControl` — opening and accepting network streams
//! - `Health` — network health indicator (Red → Green spectrum)

/// Network state and stream-control traits.
pub mod traits;
/// Shared network event and health types.
pub mod types;

pub use traits::*;
pub use types::*;