Trait kipa_lib::creators::Creator[][src]

pub trait Creator {
    type Parameters;
    fn get_clap_args<'a, 'b>() -> Vec<Arg<'a, 'b>> { ... }
fn create(
        _parameters: Self::Parameters,
        _args: &ArgMatches,
        _log: Logger
    ) -> InternalResult<Box<Self>> { ... } }

Implementors can be constructed from clap arguments

Associated Types

Parameters needed for creating the type

Provided Methods

Add clap arguments to the command line options

Create the type, given clap arguments and parameters

Implementors