Enum ethers_middleware::gas_oracle::GasOracleError [−][src]
pub enum GasOracleError {
HttpClientError(ReqwestError),
GasCategoryNotSupported,
Eip1559EstimationNotSupported,
}Expand description
Error thrown when fetching data from the GasOracle
Variants
HttpClientError(ReqwestError)
Tuple Fields
0: ReqwestErrorAn internal error in the HTTP request made from the underlying gas oracle
GasCategoryNotSupported
An internal error thrown when the required gas category is not supported by the gas oracle API
Eip1559EstimationNotSupported
Trait Implementations
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
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