pub struct Shards {
pub enabled: bool,
pub count: u32,
pub planner_exit_unsharded: i32,
pub lift_cpu_prerequisites: bool,
pub easyconfigs: Vec<String>,
pub weights: Option<String>,
pub installed_modules_dirs: Vec<String>,
pub installed_modules_dirs_from_env: Vec<String>,
}Expand description
Shard planning.
Fields§
§enabled: boolSet false to skip the phase.
count: u32Most shards to plan. A count below 2 skips the phase and builds the list as one unit.
planner_exit_unsharded: i32Exit code of stack shard that means the plan was built unsharded; the run continues unsharded.
lift_cpu_prerequisites: boolPasses --lift-cpu-prerequisites to stack shard.
easyconfigs: Vec<String>Robot path trees for stack shard --easyconfigs; at least one is required when the phase is active.
weights: Option<String>Build time table for stack shard --weights.
installed_modules_dirs: Vec<String>Module trees counted as installed, --installed-modules-dir. run leaves out a tree that does not exist yet, with a WARN.
installed_modules_dirs_from_env: Vec<String>Environment variables whose colon-separated values are appended to installed_modules_dirs at run time; run refuses with exit 78 when one is unset, an empty value adds nothing, and plan shows ${NAME}.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shards
impl<'de> Deserialize<'de> for Shards
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 StructuralPartialEq for Shards
Auto Trait Implementations§
impl Freeze for Shards
impl RefUnwindSafe for Shards
impl Send for Shards
impl Sync for Shards
impl Unpin for Shards
impl UnwindSafe for Shards
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