pub fn effective_mode(
chosen: Option<TracingMode>,
policy: Option<TrafficPolicy>,
) -> ResolvedModeExpand description
The mode a session runs in. An admin may enforce one (enforced: gateway,
direct: hooks); under per_agent, or when the policy is not known, the
developer’s choice stands, and hooks when they made none.