MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / ActivityEvent

Class ActivityEvent

crates/openshell-core/src/activity.rs:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21/// A single anonymous network activity event.
22#[derive(Debug, Clone)]
23pub struct ActivityEvent {
24 /// Whether the action was denied.
25 pub denied: bool,
26 /// The deny group label (e.g. `connect_policy`, `l7_policy`, `bypass`).
27 /// Static so producers cannot leak per-request data into the channel.
28 pub deny_group: &'static str,
29}
30
31/// Shorthand for the producer side of the activity channel.
32pub type ActivitySender = mpsc::Sender<ActivityEvent>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected