pub enum EnvironmentProbe {
Command {
command: String,
args: Vec<String>,
},
FileExists {
path: PathBuf,
},
GitClean,
}Expand description
A single verification check run against an eval workspace.
Variants§
Command
Runs an external command in the workspace; passes on exit status 0.
FileExists
Passes when path exists; relative paths resolve against the workspace.
GitClean
Passes when the workspace git tree has no uncommitted changes.
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentProbe
impl Clone for EnvironmentProbe
Source§impl Debug for EnvironmentProbe
impl Debug for EnvironmentProbe
impl Eq for EnvironmentProbe
Source§impl PartialEq for EnvironmentProbe
impl PartialEq for EnvironmentProbe
impl StructuralPartialEq for EnvironmentProbe
Auto Trait Implementations§
impl Forget for EnvironmentProbe
impl Freeze for EnvironmentProbe
impl Move for EnvironmentProbe
impl RefUnwindSafe for EnvironmentProbe
impl Send for EnvironmentProbe
impl Sync for EnvironmentProbe
impl Unpin for EnvironmentProbe
impl UnsafeUnpin for EnvironmentProbe
impl UnwindSafe for EnvironmentProbe
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