pub enum Condition {
Absent,
Always,
Other(String),
}Expand description
The gate job’s if condition, as far as the reader proves it.
Variants§
Absent
No if key: the job is skipped when a needed job fails.
Always
A bare always(): the job runs whatever the needed jobs report.
Other(String)
Any other expression, carried verbatim: not proven to run on a failed dependency.
Trait Implementations§
impl Eq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Condition
impl UnwindSafe for Condition
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