usestd::any::Any;usecrate::config::Config;/// A plugin which allows you to add extra functionality to the REST client.
pubtraitPlugin: Any + Send + Sync {/// Get a name describing the `Plugin`.
fnname(&self)->&'staticstr;/// A callback fired immediately after the plugin is loaded. Usually used
/// for initialization.
fnon_plugin_load(&mutself, _config: Config){}/// A callback fired immediately before the plugin is unloaded. Use this if
/// you need to do any cleanup.
fnon_plugin_unload(&self){}}