pub trait ResolveEnv {
// Provided method
fn resolve_env<F>(&mut self, _env_fn: F) -> Result<(), E>
where F: Fn(&str) -> Result<String, E> { ... }
}
Expand description
Trait that tasks implement to specify how to replace environment variables in their configuration.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.