Enum diem_operational_tool::command::Command[][src]

pub enum Command {
Show 28 variants AccountResource(AccountResource), AddValidator(AddValidator), CheckEndpoint(CheckEndpoint), CheckValidatorSetEndpoints(CheckValidatorSetEndpoints), CreateValidator(CreateValidator), CreateValidatorOperator(CreateValidatorOperator), ExtractPeerFromFile(ExtractPeerFromFile), ExtractPeerFromStorage(ExtractPeerFromStorage), ExtractPeersFromKeys(ExtractPeersFromKeys), ExtractPrivateKey(ExtractPrivateKey), ExtractPublicKey(ExtractPublicKey), GenerateKey(GenerateKey), InsertWaypoint(InsertWaypoint), PrintAccount(PrintAccount), PrintKey(PrintKey), PrintXKey(PrintXKey), PrintWaypoint(PrintWaypoint), RemoveValidator(RemoveValidator), RotateConsensusKey(RotateConsensusKey), RotateFullNodeNetworkKey(RotateFullNodeNetworkKey), RotateOperatorKey(RotateOperatorKey), RotateValidatorNetworkKey(RotateValidatorNetworkKey), SetValidatorConfig(SetValidatorConfig), SetValidatorOperator(SetValidatorOperator), ValidateTransaction(ValidateTransaction), ValidatorConfig(ValidatorConfig), ValidatorSet(ValidatorSet), VerifyValidatorState(VerifyValidatorState),
}

Variants

AccountResource(AccountResource)

Tuple Fields of AccountResource

0: AccountResource
AddValidator(AddValidator)

Tuple Fields of AddValidator

0: AddValidator
CheckEndpoint(CheckEndpoint)

Tuple Fields of CheckEndpoint

0: CheckEndpoint
CheckValidatorSetEndpoints(CheckValidatorSetEndpoints)

Tuple Fields of CheckValidatorSetEndpoints

0: CheckValidatorSetEndpoints
CreateValidator(CreateValidator)

Tuple Fields of CreateValidator

0: CreateValidator
CreateValidatorOperator(CreateValidatorOperator)

Tuple Fields of CreateValidatorOperator

0: CreateValidatorOperator
ExtractPeerFromFile(ExtractPeerFromFile)

Tuple Fields of ExtractPeerFromFile

0: ExtractPeerFromFile
ExtractPeerFromStorage(ExtractPeerFromStorage)

Tuple Fields of ExtractPeerFromStorage

0: ExtractPeerFromStorage
ExtractPeersFromKeys(ExtractPeersFromKeys)

Tuple Fields of ExtractPeersFromKeys

0: ExtractPeersFromKeys
ExtractPrivateKey(ExtractPrivateKey)

Tuple Fields of ExtractPrivateKey

0: ExtractPrivateKey
ExtractPublicKey(ExtractPublicKey)

Tuple Fields of ExtractPublicKey

0: ExtractPublicKey
GenerateKey(GenerateKey)

Tuple Fields of GenerateKey

0: GenerateKey
InsertWaypoint(InsertWaypoint)

Tuple Fields of InsertWaypoint

0: InsertWaypoint
PrintAccount(PrintAccount)

Tuple Fields of PrintAccount

0: PrintAccount
PrintKey(PrintKey)

Tuple Fields of PrintKey

0: PrintKey
PrintXKey(PrintXKey)

Tuple Fields of PrintXKey

0: PrintXKey
PrintWaypoint(PrintWaypoint)

Tuple Fields of PrintWaypoint

0: PrintWaypoint
RemoveValidator(RemoveValidator)

Tuple Fields of RemoveValidator

0: RemoveValidator
RotateConsensusKey(RotateConsensusKey)

Tuple Fields of RotateConsensusKey

0: RotateConsensusKey
RotateFullNodeNetworkKey(RotateFullNodeNetworkKey)

Tuple Fields of RotateFullNodeNetworkKey

0: RotateFullNodeNetworkKey
RotateOperatorKey(RotateOperatorKey)

Tuple Fields of RotateOperatorKey

0: RotateOperatorKey
RotateValidatorNetworkKey(RotateValidatorNetworkKey)

Tuple Fields of RotateValidatorNetworkKey

0: RotateValidatorNetworkKey
SetValidatorConfig(SetValidatorConfig)

Tuple Fields of SetValidatorConfig

0: SetValidatorConfig
SetValidatorOperator(SetValidatorOperator)

Tuple Fields of SetValidatorOperator

0: SetValidatorOperator
ValidateTransaction(ValidateTransaction)

Tuple Fields of ValidateTransaction

0: ValidateTransaction
ValidatorConfig(ValidatorConfig)

Tuple Fields of ValidatorConfig

0: ValidatorConfig
ValidatorSet(ValidatorSet)

Tuple Fields of ValidatorSet

0: ValidatorSet
VerifyValidatorState(VerifyValidatorState)

Tuple Fields of VerifyValidatorState

0: VerifyValidatorState

Implementations

Show the transaction context and validation result in a friendly way

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Returns clap::App corresponding to the struct.

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by [StructOpt::clap] called on the same type, otherwise it must panic. Read more

Builds the struct from the command line arguments (std::env::args_os). Calls clap::Error::exit on failure, printing the error message and aborting the program. Read more

Builds the struct from the command line arguments (std::env::args_os). Unlike [StructOpt::from_args], returns clap::Error on failure instead of aborting the program, so calling .exit is up to you. 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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.