pub trait RawData {
// Required method
fn get_value(&self) -> &BTreeMap<MetaString, Value>;
// Provided methods
fn get(&self, key: &str) -> Option<&Value> { ... }
fn to_bytes(&self) -> Result<Vec<u8>, GenericError> { ... }
}Expand description
Raw data trait for configuration data
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".