pub trait ConfigCheck: Send + Sync {
// Required method
fn check(&self, content: &str) -> Result<(), String>;
}Expand description
The host’s check of a whole config text before it is written: TOML syntax, environment references and the host’s own config structure.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".