[][src]Trait srml_indices::ResolveHint

pub trait ResolveHint<AccountId, AccountIndex> {
    fn resolve_hint(who: &AccountId) -> Option<AccountIndex>;
}

Turn an Id into an Index, or None for the purpose of getting a hint at a possibly desired index.

Required methods

fn resolve_hint(who: &AccountId) -> Option<AccountIndex>

Turn an Id into an Index, or None for the purpose of getting a hint at a possibly desired index.

Loading content...

Implementors

impl<AccountId: Encode, AccountIndex: From<u32>> ResolveHint<AccountId, AccountIndex> for SimpleResolveHint<AccountId, AccountIndex>[src]

Loading content...