pub fn forward_flags(no_forward: bool, no_forward_browser: bool) -> (bool, bool)Expand description
Derive the exec forwarding flags from an interactive session’s opt-out flags,
returning (forward_ports, forward_browser). no_forward turns off both
localhost-server and browser-open forwarding; no_forward_browser turns off
only browser opens. Browser forwarding always implies port forwarding — a
login’s OAuth callback is itself a forwarded localhost server — so it is gated
on both opt-outs.