Skip to main content

Module data_flow

Module data_flow 

Source
Expand description

Data flow guard – enforces cumulative bytes-read/written limits via session journal.

This guard reads cumulative data flow statistics from the session journal and denies requests that would cause the session to exceed configured byte limits for reads, writes, or combined I/O.

The guard fails closed: if the session journal is unavailable or returns an error, the request is denied.

Structs§

DataFlowConfig
Configuration for cumulative data flow limits.
DataFlowGuard
Guard that enforces cumulative data flow limits using the session journal.