pub struct LiveHostObservation {
pub ssh_user: Option<String>,
pub resolved_host: Option<String>,
pub identity_file_exists: Option<bool>,
pub facts: Option<WorkerFacts>,
pub detected_slots: Option<u32>,
pub expected_build_root: Option<String>,
pub expected_target_triple: Option<String>,
}Expand description
Live observation of a host to validate a config entry against. All fields optional/best-effort — an absent observation simply skips that check.
Fields§
§ssh_user: Option<String>User the SSH config resolves to / the probe ran as.
resolved_host: Option<String>Canonical host the SSH config resolves to (for alias-drift detection).
identity_file_exists: Option<bool>Whether the configured identity file exists.
facts: Option<WorkerFacts>Live probed facts (12.1/12.2).
detected_slots: Option<u32>Detected build-slot capacity (e.g. CPU cores).
expected_build_root: Option<String>The remote build root the controller expects this worker to offload into.
expected_target_triple: Option<String>The target triple the controller will deploy artifacts for.
Trait Implementations§
Source§impl Clone for LiveHostObservation
impl Clone for LiveHostObservation
Source§impl Debug for LiveHostObservation
impl Debug for LiveHostObservation
Auto Trait Implementations§
impl Freeze for LiveHostObservation
impl RefUnwindSafe for LiveHostObservation
impl Send for LiveHostObservation
impl Sync for LiveHostObservation
impl Unpin for LiveHostObservation
impl UnsafeUnpin for LiveHostObservation
impl UnwindSafe for LiveHostObservation
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