pub enum Stance {
Applies,
NotApplicable(String),
Excluded(String),
Redundant {
reason: String,
inapplicable: String,
},
}Expand description
Where one step stands at this target, before anything runs.
Applicability is the profile’s answer and carries no operator reason; an exclusion is the operator’s own statement about a step that does apply. An exclusion declared for a step that does not apply is redundant: it is reported as such and turns the step into no work.
SATISFIES forge-setup:applicability-follows-the-target-configuration
Variants§
Applies
The step applies and the run acts on it.
NotApplicable(String)
The target configuration does not select it, with the value that decided so.
Excluded(String)
The target declared it does not run it, with its stated reason.
Redundant
The target excluded a step that does not apply here.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stance
impl RefUnwindSafe for Stance
impl Send for Stance
impl Sync for Stance
impl Unpin for Stance
impl UnsafeUnpin for Stance
impl UnwindSafe for Stance
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