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)ClientError(ClientError)CommandNotRecognized(String)InsufficientFundsForFee(f64, Pubkey)InsufficientFundsForSpend(f64, Pubkey)InvalidNonce(Error)DynamicProgramError(String)RpcRequestError(String)KeypairFileNotFound(String)Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CliErrorimpl !UnwindSafe for CliErrorBlanket Implementations
pub default fn example() -> Tpub 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
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V