pub fn validate_plugin(plugin: &Arc<dyn Plugin>) -> Result<()>
Validate a plugin’s structure
plugin
A result with validation errors if any