Trait sp_runtime::traits::Lookup [−][src]
pub trait Lookup {
type Source;
type Target;
fn lookup(&self, s: Self::Source) -> Result<Self::Target, LookupError>;
}Means of changing one type into another in a manner dependent on the source type.
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<T> Lookup for IdentityLookup<T>[src]
impl<T> Lookup for IdentityLookup<T>[src]