Trait polkadot_omni_node_lib::cli::CliConfig
source · pub trait CliConfig {
// Required methods
fn impl_version() -> String;
fn author() -> String;
fn support_url() -> String;
fn copyright_start_year() -> u16;
// Provided method
fn description(executable_name: String) -> String { ... }
}
Expand description
Trait that can be used to customize some of the customer-facing info related to the node binary that is being built using this library.
The related info is shown to the customer as part of logs or help messages. It does not impact functionality.
Required Methods§
sourcefn impl_version() -> String
fn impl_version() -> String
The version of the resulting node binary.
The author of the resulting node binary.
sourcefn support_url() -> String
fn support_url() -> String
The support URL for the resulting node binary.
sourcefn copyright_start_year() -> u16
fn copyright_start_year() -> u16
The starting copyright year of the resulting node binary.
Provided Methods§
sourcefn description(executable_name: String) -> String
fn description(executable_name: String) -> String
The description of the resulting node binary.
Object Safety§
This trait is not object safe.