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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl HandleProvider for ()
impl HandleProvider for ()
Blanket implementation for testing.