Enum solana_cli::cli::CliError
source · [−]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)
ClientError(ClientError)
CommandNotRecognized(String)
InsufficientFundsForFee(f64, Pubkey)
InsufficientFundsForSpend(f64, Pubkey)
InsufficientFundsForSpendAndFee(f64, f64, Pubkey)
InvalidNonce(Error)
DynamicProgramError(String)
RpcRequestError(String)
KeypairFileNotFound(String)
Trait 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