Trait cfg_traits::ValueProvider
source · pub trait ValueProvider<Source, Key> {
type Value;
// Required method
fn get(
source: &Source,
id: &Key
) -> Result<Option<Self::Value>, DispatchError>;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.