pub struct ProbeSpec {
pub remote_user: String,
pub rch_wkr_path: String,
pub cargo_path: Option<String>,
pub rustup_path: Option<String>,
pub disk_roots: Vec<String>,
pub tools: Vec<NamedToolProbe>,
}Expand description
Exact paths/identity the probe must use (never PATH-resolved).
Fields§
§remote_user: StringSSH login user the probe runs as.
rch_wkr_path: StringExact path to the rch-wkr binary RCH will invoke.
cargo_path: Option<String>Exact path to cargo, if known (else the probe tries command -v).
rustup_path: Option<String>Exact path to rustup, if known.
disk_roots: Vec<String>Disk roots whose capacity to report (temp root, build roots, cargo home).
tools: Vec<NamedToolProbe>Operator-declared named tool probes for this worker.
Implementations§
Source§impl ProbeSpec
impl ProbeSpec
pub fn new( remote_user: impl Into<String>, rch_wkr_path: impl Into<String>, ) -> Self
Sourcepub fn with_tools(self, tools: impl IntoIterator<Item = NamedToolProbe>) -> Self
pub fn with_tools(self, tools: impl IntoIterator<Item = NamedToolProbe>) -> Self
Declare the operator-configured tool probes (builder style).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProbeSpec
impl RefUnwindSafe for ProbeSpec
impl Send for ProbeSpec
impl Sync for ProbeSpec
impl Unpin for ProbeSpec
impl UnsafeUnpin for ProbeSpec
impl UnwindSafe for ProbeSpec
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