Skip to main content

effective_mode

Function effective_mode 

Source
pub fn effective_mode(
    chosen: Option<TracingMode>,
    policy: Option<TrafficPolicy>,
) -> ResolvedMode
Expand 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.