pub trait Mapping {
// Required method
fn get_value(&self, key: &str) -> Option<&str>;
}Expand description
Abstracts concrete map types so that FromMapping could accept any of the implementors.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".