pub struct PreflightIssue {
pub severity: &'static str,
pub message: String,
}Expand description
One environment-preflight issue surfaced at run start (roadmap M2).
Preflight is advisory only: it never blocks a mission (the final contract
gate stays authoritative). severity is "warn" for a probably-missing
prerequisite and "error" for a hard environment defect (not a git repo,
.kranz not writable) that will almost certainly break the run.
Fields§
§severity: &'static str"warn" | "error".
message: StringTrait Implementations§
Source§impl Clone for PreflightIssue
impl Clone for PreflightIssue
Source§fn clone(&self) -> PreflightIssue
fn clone(&self) -> PreflightIssue
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 moreSource§impl Debug for PreflightIssue
impl Debug for PreflightIssue
impl Eq for PreflightIssue
Source§impl PartialEq for PreflightIssue
impl PartialEq for PreflightIssue
impl StructuralPartialEq for PreflightIssue
Auto Trait Implementations§
impl Freeze for PreflightIssue
impl RefUnwindSafe for PreflightIssue
impl Send for PreflightIssue
impl Sync for PreflightIssue
impl Unpin for PreflightIssue
impl UnsafeUnpin for PreflightIssue
impl UnwindSafe for PreflightIssue
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