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 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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V