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§

source

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 ()

Blanket implementation for testing.

Implementors§