pub enum BoxRole {
Dispatcher,
Worker,
Hybrid,
}Expand description
Box-level role (bd-wywsj): what this MACHINE is for, so “never build locally” is configuration rather than a per-call env var.
Variants§
Dispatcher
Orchestrator box: offloadable builds default FAIL-CLOSED + queue (RCH_REQUIRE_REMOTE semantics) — a saturated fleet waits for a worker instead of repopulating local rustc. Explicit per-call env still overrides.
Worker
The box IS the compute: fail-open/local; rch shim install
refuses here.
Hybrid
Today’s behavior (fully backward compatible).
Implementations§
Trait Implementations§
impl Copy for BoxRole
Source§impl<'de> Deserialize<'de> for BoxRole
impl<'de> Deserialize<'de> for BoxRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BoxRole
impl StructuralPartialEq for BoxRole
Auto Trait Implementations§
impl Freeze for BoxRole
impl RefUnwindSafe for BoxRole
impl Send for BoxRole
impl Sync for BoxRole
impl Unpin for BoxRole
impl UnsafeUnpin for BoxRole
impl UnwindSafe for BoxRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.