Skip to main content

bb_ops/syscalls/gates/
mod.rs

1//! Framework-inserted TX/RX gate ops. Each gate is a compiler-
2//! inserted graph op that consults a framework primitive
3//! (`PeerGovernor`, `BackoffTable`, `InboundDedup`) and either
4//! forwards its envelope/trigger downstream or drops + emits a
5//! lifecycle event.
6//!
7//! TX-side chain (around `wire::Send`):
8//!     `wire::Send` → `PeerHealthGateTx` → `BackoffGateTx` → outbound
9//!
10//! RX-side chain (around `wire::Recv`):
11//!     `wire::Recv` → `DedupGateRx` → `PeerHealthGateRx` →
12//!     `BackoffGateRx` → user consumer
13
14pub mod backoff_rx;
15pub mod backoff_tx;
16pub mod dedup_rx;
17pub mod peer_health_rx;
18pub mod peer_health_tx;