pub trait Config<Key: Into<String>>: Send + Sync {
// Required methods
fn get(&self, name: Key) -> Result<String, OperationOutcomeError>;
fn set(&self, name: Key, value: String) -> Result<(), OperationOutcomeError>;
}Required Methods§
fn get(&self, name: Key) -> Result<String, OperationOutcomeError>
fn set(&self, name: Key, value: String) -> Result<(), OperationOutcomeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".