pub trait Config: Send + Sync {
// Required method
fn get(&self, key: &str) -> impl Future<Output = Result<String>> + Send;
}Expand description
The Config trait is used by implementers to provide configuration from
WASI-guest to dependent crates.
Required 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.