pub trait Host: Send {
// Required methods
fn get(
&mut self,
key: String,
) -> impl Future<Output = Result<Result<Option<String>, ConfigError>>> + Send;
fn get_all(
&mut self,
) -> impl Future<Output = Result<Result<Vec<(String, String)>, ConfigError>>> + Send;
}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.