pub trait PatternEnv {
// Required method
fn is_curl_passthrough(&self, command: &str) -> bool;
}Expand description
Engine-supplied facts a pattern may need. The engine implements this from
its configuration. NoEnv is the neutral environment for callers without
one (tests, tools that run outside an engine).
Required Methods§
Sourcefn is_curl_passthrough(&self, command: &str) -> bool
fn is_curl_passthrough(&self, command: &str) -> bool
True when command (lower-cased) fetches a configured passthrough URL;
the curl pattern then leaves the response to the generic fallbacks.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".