pub enum IsolatedAuthReason {
ExplicitOptIn,
ExplicitOptOut,
DefaultShared,
}Expand description
Which rule decided isolated_auth_enabled’s result — for boot-time
diagnostics (see bootstrap/stores.rs’s “shared store: attached” log line)
so a developer staring at an empty Connectors → Accounts can tell at a glance whether
that is an explicit choice, rather than re-deriving it from the env by
hand. Callers that only need the boolean should use
isolated_auth_enabled directly — this exists purely so the two never
drift (one resolution, two views).
Variants§
ExplicitOptIn
AGENTMUX_ISOLATED_AUTH=1.
ExplicitOptOut
AGENTMUX_ISOLATED_AUTH is set to anything other than exactly "1"
("0", "", a typo like "false", anything): shared. Fail-safe by
construction: a malformed opt-in can never silently isolate a channel
(#2431), and since 2026-10-03 the unset default is shared as well.
No override: shared, on every channel.
Implementations§
Trait Implementations§
Source§impl Clone for IsolatedAuthReason
impl Clone for IsolatedAuthReason
Source§fn clone(&self) -> IsolatedAuthReason
fn clone(&self) -> IsolatedAuthReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more