Function fetch_plugin

Source
pub fn fetch_plugin<T: DataBlob + SolanaAccount, U: CrateDeserialize>(
    account: &AccountInfo<'_>,
    plugin_type: PluginType,
) -> Result<(PluginAuthority, U, usize), Error>
Expand description

Fetch the plugin from the registry.