pub trait AsAttributes {
// Required method
fn as_attributes(&self) -> HashMap<String, String>;
// Provided method
fn hash(&self, key: &Key) -> Vec<(String, Result<Mac, Error>)> { ... }
}Expand description
An item/collection attributes.
Required Methods§
fn as_attributes(&self) -> HashMap<String, String>
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".