Enum bgpd_rs::cli::Command[][src]

pub enum Command {
    Run(RunOptions),
    Show(Show),
    Advertise(Advertise),
}
Expand description

CLI to query BGPd

Variants

Run BGPd daemon

Tuple Fields of Run

0: RunOptions
Show(Show)

View details about BGPd

Tuple Fields of Show

0: Show
Advertise(Advertise)

Send routes to be advertised

Tuple Fields of Advertise

0: Advertise

Trait Implementations

Formats the value using the given formatter. Read more

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more