pub enum IsolatedMuxbusReconnectReason {
ExplicitOptIn,
ExplicitOptOut,
ChannelDefaultIsolated,
ChannelDefaultGlobal,
}Expand description
Which rule decided isolated_muxbus_reconnect_enabled’s result —
mirrors IsolatedAuthReason/IsolatedSettingsReason exactly, same
rationale (one resolution, two views).
Variants§
ExplicitOptIn
AGENTMUX_ISOLATED_MUXBUS=1.
ExplicitOptOut
AGENTMUX_ISOLATED_MUXBUS is set to anything other than exactly
"1" — fail-safe by construction, same rule as
IsolatedAuthReason::ExplicitOptOut and for the same reason: a
typo’d opt-out attempt must not silently isolate a non-stable
channel instead of falling back to the safe (global/reconnect)
state.
ChannelDefaultIsolated
No override; AGENTMUX_CHANNEL is set, isn’t "stable", and
doesn’t start with "dev-" — a randomized local-package channel.
ChannelDefaultGlobal
No override; AGENTMUX_CHANNEL is "stable", starts with
"dev-", or is unset entirely.
Implementations§
Trait Implementations§
Source§impl Clone for IsolatedMuxbusReconnectReason
impl Clone for IsolatedMuxbusReconnectReason
Source§fn clone(&self) -> IsolatedMuxbusReconnectReason
fn clone(&self) -> IsolatedMuxbusReconnectReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IsolatedMuxbusReconnectReason
impl Eq for IsolatedMuxbusReconnectReason
impl StructuralPartialEq for IsolatedMuxbusReconnectReason
Auto Trait Implementations§
impl Freeze for IsolatedMuxbusReconnectReason
impl RefUnwindSafe for IsolatedMuxbusReconnectReason
impl Send for IsolatedMuxbusReconnectReason
impl Sync for IsolatedMuxbusReconnectReason
impl Unpin for IsolatedMuxbusReconnectReason
impl UnsafeUnpin for IsolatedMuxbusReconnectReason
impl UnwindSafe for IsolatedMuxbusReconnectReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more