Enum solana_cli::cli::CliError [−][src]
pub enum CliError {
BadParameter(String),
ClientError(ClientError),
CommandNotRecognized(String),
InsufficientFundsForFee(f64, Pubkey),
InsufficientFundsForSpend(f64, Pubkey),
InsufficientFundsForSpendAndFee(f64, f64, Pubkey),
InvalidNonce(Error),
DynamicProgramError(String),
RpcRequestError(String),
KeypairFileNotFound(String),
}Variants
BadParameter(String)Tuple Fields of BadParameter
0: StringClientError(ClientError)Tuple Fields of ClientError
0: ClientErrorCommandNotRecognized(String)Tuple Fields of CommandNotRecognized
0: StringInsufficientFundsForFee(f64, Pubkey)Tuple Fields of InsufficientFundsForFee
0: f641: PubkeyInsufficientFundsForSpend(f64, Pubkey)Tuple Fields of InsufficientFundsForSpend
0: f641: PubkeyInvalidNonce(Error)Tuple Fields of InvalidNonce
0: ErrorDynamicProgramError(String)Tuple Fields of DynamicProgramError
0: StringRpcRequestError(String)Tuple Fields of RpcRequestError
0: StringKeypairFileNotFound(String)Tuple Fields of KeypairFileNotFound
0: StringTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CliError
impl !UnwindSafe for CliError
Blanket Implementations
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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