Enum ethers_middleware::gas_oracle::GasOracleError [−][src]
pub enum GasOracleError {
HttpClientError(ReqwestError),
EtherscanError(EtherscanError),
GasCategoryNotSupported,
Eip1559EstimationNotSupported,
}
Expand description
Error thrown when fetching data from the GasOracle
Variants
HttpClientError(ReqwestError)
An internal error in the HTTP request made from the underlying gas oracle
Tuple Fields of HttpClientError
0: ReqwestError
EtherscanError(EtherscanError)
An internal error in the Etherscan client request made from the underlying gas oracle
Tuple Fields of EtherscanError
An internal error thrown when the required gas category is not supported by the gas oracle API
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GasOracleError
impl Send for GasOracleError
impl Sync for GasOracleError
impl Unpin for GasOracleError
impl !UnwindSafe for GasOracleError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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