Trait common_primitives::handles::HandleProvider
source · pub trait HandleProvider {
// Required method
fn get_handle_for_msa(key: MessageSourceId) -> Option<HandleResponse>;
}
Expand description
A behavior that allows for retrieving a Handle
for a given MessageSourceAccount
Required Methods§
sourcefn get_handle_for_msa(key: MessageSourceId) -> Option<HandleResponse>
fn get_handle_for_msa(key: MessageSourceId) -> Option<HandleResponse>
Validate a handle for a given MessageSourceAccount
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl HandleProvider for ()
impl HandleProvider for ()
Blanket implementation for testing.