Enum collectd_plugin::PluginRegistration
[−]
[src]
pub enum PluginRegistration {
Single(Box<Plugin>),
Multiple(Vec<(String, Box<Plugin>)>),
}How many instances of the plugin will be registered
Variants
Single(Box<Plugin>)Our module will only register a single plugin
Multiple(Vec<(String, Box<Plugin>)>)Our module registers several modules. The String in the tuple must be unique identifier