pub struct ProviderMeta {
pub name: &'static str,
pub display_name: &'static str,
pub aliases: &'static [&'static str],
pub supported_commands: SupportedCommands,
pub build: ProviderFactory,
pub check: Option<ProviderCheckFn>,
pub command_flags: &'static [(StandardCommand, &'static [FlagDescriptor])],
pub extension_commands: &'static [(&'static str, CommandDescriptor)],
}Expand description
Static metadata and factory for a single provider.
Stored in the registry; does not hold any live connections or state.
Fields§
§name: &'static strCanonical name used as the primary --provider value.
display_name: &'static strHuman-readable display name shown in help and diagnostics.
aliases: &'static [&'static str]All accepted --provider aliases, including the canonical name.
Insertion order is preserved for deterministic --help output.
supported_commands: SupportedCommandsWhich standard core commands this provider supports.
Used to generate provider support tags in --help output.
build: ProviderFactoryFactory function — instantiates the provider from a ProviderConfig.
check: Option<ProviderCheckFn>Optional health check function registered by the provider.
When Some, provider check calls this to verify connectivity
and (where possible) authentication. When None, the check is skipped.
command_flags: &'static [(StandardCommand, &'static [FlagDescriptor])]Provider-specific flags per standard command. Key is the standard command identifier for the target core command.
extension_commands: &'static [(&'static str, CommandDescriptor)]Extension commands registered by this provider.
Each entry is a (signal, descriptor) pair where signal is the
signal group the command belongs to (e.g. "trace", "metric").
Unlike command_flags (which uses StandardCommand identifiers), extension commands
use a bare signal name because the command name itself lives in
the descriptor.