[−][src]Trait sp_runtime::traits::StaticLookup
Means of changing one type into another in a manner dependent on the source type.
This variant is different to Lookup
in that it doesn't (can cannot) require any
context.
Associated Types
Loading content...Required methods
fn lookup(s: Self::Source) -> Result<Self::Target, LookupError>
Attempt a lookup.
fn unlookup(t: Self::Target) -> Self::Source
Convert from Target back to Source.