Trait HandleProvider
pub trait HandleProvider {
// Required method
fn get_handle_for_msa(key: u64) -> Option<HandleResponse>;
}
Expand description
A behavior that allows for retrieving a Handle
for a given MessageSourceAccount
Required Methods§
fn get_handle_for_msa(key: u64) -> Option<HandleResponse>
fn get_handle_for_msa(key: u64) -> 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§
§impl HandleProvider for ()
impl HandleProvider for ()
Blanket implementation for testing.