Enum ethers::etherscan::errors::EtherscanError [−][src]
pub enum EtherscanError {
ChainNotSupported(Chain),
ExecutionFailed(String),
TransactionReceiptFailed,
GasEstimationFailed,
BadStatusCode(String),
EnvVarNotFound(VarError),
Reqwest(Error),
Serde(Error),
}
Variants
ChainNotSupported(Chain)
Tuple Fields
0: Chain
ExecutionFailed(String)
Tuple Fields
0: String
TransactionReceiptFailed
GasEstimationFailed
BadStatusCode(String)
Tuple Fields
0: String
EnvVarNotFound(VarError)
Tuple Fields
0: VarError
Reqwest(Error)
Tuple Fields
0: Error
Serde(Error)
Tuple Fields
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for EtherscanError
impl Send for EtherscanError
impl Sync for EtherscanError
impl Unpin for EtherscanError
impl !UnwindSafe for EtherscanError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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