pub trait MsaLookup {
    type AccountId;

    // Required method
    fn get_msa_id(key: &Self::AccountId) -> Option<MessageSourceId>;
}
Expand description

A behavior that allows looking up an MSA id

Required Associated Types§

source

type AccountId

The association between key and MSA

Required Methods§

source

fn get_msa_id(key: &Self::AccountId) -> Option<MessageSourceId>

Gets the MSA Id associated with this AccountId if any

Object Safety§

This trait is not object safe.

Implementors§