1 2 3 4 5 6 7 8 9 10 11
#[async_trait::async_trait]
pub trait Describable<'tool>: Send + Sync {
/// Return the tool's binary name. Will also be used in variables and file names.
fn get_bin_name(&self) -> &str;
/// Return a loggable target name.
fn get_log_target(&self) -> &str;
/// Return a human readable name of the tool.
fn get_name(&self) -> String;
}