pub trait Backend:
Send
+ Sync
+ Debug {
// Required methods
fn run_cmd(&self, cmd: Cmd) -> Result<RunResult>;
fn name(&self) -> &str;
fn is_available(&self) -> bool;
fn supports_hermetic(&self) -> bool;
fn supports_deterministic(&self) -> bool;
}Expand description
Trait for backend execution environments
Required Methods§
Sourcefn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if the backend is available
Sourcefn supports_hermetic(&self) -> bool
fn supports_hermetic(&self) -> bool
Check if the backend supports hermetic execution
Sourcefn supports_deterministic(&self) -> bool
fn supports_deterministic(&self) -> bool
Check if the backend supports deterministic execution