1 2 3 4 5 6 7 8 9
use std::collections::HashMap; pub trait MurDecorator: Send + Sync + 'static { fn metadata(&self) -> HashMap<String, String>; fn name(&self) -> &str { std::any::type_name::<Self>() } }