[−][src]Struct ethers_middleware::gas_oracle::GasOracleMiddleware  
Middleware used for fetching gas prices over an API instead of eth_gasPrice
Implementations
impl<M, G> GasOracleMiddleware<M, G> where
    M: Middleware,
    G: GasOracle, [src]
M: Middleware,
G: GasOracle,
Trait Implementations
impl<M: Debug, G: Debug> Debug for GasOracleMiddleware<M, G>[src]
impl<M, G> Middleware for GasOracleMiddleware<M, G> where
    M: Middleware,
    G: GasOracle, [src]
M: Middleware,
G: GasOracle,
type Error = MiddlewareError<M>
type Provider = M::Provider
type Inner = M
pub fn inner(&self) -> &M[src]
pub fn get_gas_price<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn send_transaction<'life0, 'async_trait>(
    &'life0 self, 
    tx: TransactionRequest, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<PendingTransaction<'_, Self::Provider>, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
tx: TransactionRequest,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<PendingTransaction<'_, Self::Provider>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn provider(&self) -> &Provider<Self::Provider>[src]
#[must_use]pub fn get_block_number<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<U64, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<U64, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn resolve_name<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    ens_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<H160, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
ens_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<H160, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn lookup_address<'life0, 'async_trait>(
    &'life0 self, 
    address: H160
) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
address: H160
) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn get_block<'life0, 'async_trait, T>(
    &'life0 self, 
    block_hash_or_number: T
) -> Pin<Box<dyn Future<Output = Result<Option<Block<H256>>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<BlockId> + Send + Sync + 'async_trait, [src]
&'life0 self,
block_hash_or_number: T
) -> Pin<Box<dyn Future<Output = Result<Option<Block<H256>>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<BlockId> + Send + Sync + 'async_trait,
#[must_use]pub fn get_block_with_txs<'life0, 'async_trait, T>(
    &'life0 self, 
    block_hash_or_number: T
) -> Pin<Box<dyn Future<Output = Result<Option<Block<Transaction>>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<BlockId> + Send + Sync + 'async_trait, [src]
&'life0 self,
block_hash_or_number: T
) -> Pin<Box<dyn Future<Output = Result<Option<Block<Transaction>>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<BlockId> + Send + Sync + 'async_trait,
#[must_use]pub fn get_transaction_count<'life0, 'async_trait, T>(
    &'life0 self, 
    from: T, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<NameOrAddress> + Send + Sync + 'async_trait, [src]
&'life0 self,
from: T,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<NameOrAddress> + Send + Sync + 'async_trait,
#[must_use]pub fn estimate_gas<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    tx: &'life1 TransactionRequest
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
tx: &'life1 TransactionRequest
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn call<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    tx: &'life1 TransactionRequest, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<Bytes, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
tx: &'life1 TransactionRequest,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<Bytes, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn get_chainid<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn get_balance<'life0, 'async_trait, T>(
    &'life0 self, 
    from: T, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<NameOrAddress> + Send + Sync + 'async_trait, [src]
&'life0 self,
from: T,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<NameOrAddress> + Send + Sync + 'async_trait,
#[must_use]pub fn get_transaction<'life0, 'async_trait, T>(
    &'life0 self, 
    transaction_hash: T
) -> Pin<Box<dyn Future<Output = Result<Option<Transaction>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<H256> + Send + Sync + 'async_trait, [src]
&'life0 self,
transaction_hash: T
) -> Pin<Box<dyn Future<Output = Result<Option<Transaction>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<H256> + Send + Sync + 'async_trait,
#[must_use]pub fn get_transaction_receipt<'life0, 'async_trait, T>(
    &'life0 self, 
    transaction_hash: T
) -> Pin<Box<dyn Future<Output = Result<Option<TransactionReceipt>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<H256> + Send + Sync + 'async_trait, [src]
&'life0 self,
transaction_hash: T
) -> Pin<Box<dyn Future<Output = Result<Option<TransactionReceipt>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<H256> + Send + Sync + 'async_trait,
#[must_use]pub fn get_accounts<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<H160, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<H160, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn send_raw_transaction<'a, 'life0, 'async_trait>(
    &'a self, 
    tx: &'life0 Transaction
) -> Pin<Box<dyn Future<Output = Result<PendingTransaction<'a, Self::Provider>, Self::Error>> + 'async_trait + Send, Global>> where
    'a: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'a self,
tx: &'life0 Transaction
) -> Pin<Box<dyn Future<Output = Result<PendingTransaction<'a, Self::Provider>, Self::Error>> + 'async_trait + Send, Global>> where
'a: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn sign<'life0, 'life1, 'async_trait, T>(
    &'life0 self, 
    data: T, 
    from: &'life1 H160
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait,
    T: Into<Bytes> + Send + Sync + 'async_trait, [src]
&'life0 self,
data: T,
from: &'life1 H160
) -> Pin<Box<dyn Future<Output = Result<Signature, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
T: Into<Bytes> + Send + Sync + 'async_trait,
#[must_use]pub fn get_logs<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    filter: &'life1 Filter
) -> Pin<Box<dyn Future<Output = Result<Vec<Log, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
filter: &'life1 Filter
) -> Pin<Box<dyn Future<Output = Result<Vec<Log, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn new_filter<'life0, 'life1, 'async_trait>(
    &'life0 self, 
    filter: FilterKind<'life1>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
filter: FilterKind<'life1>
) -> Pin<Box<dyn Future<Output = Result<U256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn uninstall_filter<'life0, 'async_trait, T>(
    &'life0 self, 
    id: T
) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<U256> + Send + Sync + 'async_trait, [src]
&'life0 self,
id: T
) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<U256> + Send + Sync + 'async_trait,
#[must_use]pub fn watch<'a, 'life0, 'async_trait>(
    &'a self, 
    filter: &'life0 Filter
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'a, Self::Provider, Log>, Self::Error>> + 'async_trait + Send, Global>> where
    'a: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'a self,
filter: &'life0 Filter
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'a, Self::Provider, Log>, Self::Error>> + 'async_trait + Send, Global>> where
'a: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn watch_pending_transactions<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn get_filter_changes<'life0, 'async_trait, T, R>(
    &'life0 self, 
    id: T
) -> Pin<Box<dyn Future<Output = Result<Vec<R, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<U256> + Send + Sync + 'async_trait,
    R: Serialize + DeserializeOwned + Send + Sync + Debug + 'async_trait, [src]
&'life0 self,
id: T
) -> Pin<Box<dyn Future<Output = Result<Vec<R, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<U256> + Send + Sync + 'async_trait,
R: Serialize + DeserializeOwned + Send + Sync + Debug + 'async_trait,
#[must_use]pub fn watch_blocks<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<FilterWatcher<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn get_code<'life0, 'async_trait, T>(
    &'life0 self, 
    at: T, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<Bytes, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<NameOrAddress> + Send + Sync + 'async_trait, [src]
&'life0 self,
at: T,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<Bytes, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<NameOrAddress> + Send + Sync + 'async_trait,
#[must_use]pub fn get_storage_at<'life0, 'async_trait, T>(
    &'life0 self, 
    from: T, 
    location: H256, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<H256, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<NameOrAddress> + Send + Sync + 'async_trait, [src]
&'life0 self,
from: T,
location: H256,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<H256, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<NameOrAddress> + Send + Sync + 'async_trait,
#[must_use]pub fn txpool_content<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolContent, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolContent, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn txpool_inspect<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolInspect, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolInspect, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn txpool_status<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolStatus, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<TxpoolStatus, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_call<'life0, 'async_trait>(
    &'life0 self, 
    req: TransactionRequest, 
    trace_type: Vec<TraceType, Global>, 
    block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
req: TransactionRequest,
trace_type: Vec<TraceType, Global>,
block: Option<BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_raw_transaction<'life0, 'async_trait>(
    &'life0 self, 
    data: Bytes, 
    trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
data: Bytes,
trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_replay_transaction<'life0, 'async_trait>(
    &'life0 self, 
    hash: H256, 
    trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
hash: H256,
trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<BlockTrace, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_replay_block_transactions<'life0, 'async_trait>(
    &'life0 self, 
    block: BlockNumber, 
    trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<Vec<BlockTrace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
block: BlockNumber,
trace_type: Vec<TraceType, Global>
) -> Pin<Box<dyn Future<Output = Result<Vec<BlockTrace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_block<'life0, 'async_trait>(
    &'life0 self, 
    block: BlockNumber
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
block: BlockNumber
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_filter<'life0, 'async_trait>(
    &'life0 self, 
    filter: TraceFilter
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
filter: TraceFilter
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn trace_get<'life0, 'async_trait, T>(
    &'life0 self, 
    hash: H256, 
    index: Vec<T, Global>
) -> Pin<Box<dyn Future<Output = Result<Trace, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<U64> + Send + Sync + 'async_trait, [src]
&'life0 self,
hash: H256,
index: Vec<T, Global>
) -> Pin<Box<dyn Future<Output = Result<Trace, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<U64> + Send + Sync + 'async_trait,
#[must_use]pub fn trace_transaction<'life0, 'async_trait>(
    &'life0 self, 
    hash: H256
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, [src]
&'life0 self,
hash: H256
) -> Pin<Box<dyn Future<Output = Result<Vec<Trace, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn parity_block_receipts<'life0, 'async_trait, T>(
    &'life0 self, 
    block: T
) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionReceipt, Global>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<BlockNumber> + Send + Sync + 'async_trait, [src]
&'life0 self,
block: T
) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionReceipt, Global>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<BlockNumber> + Send + Sync + 'async_trait,
#[must_use]pub fn subscribe<'life0, 'async_trait, T, R>(
    &'life0 self, 
    params: T
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, R>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Debug + Serialize + Send + Sync + 'async_trait,
    R: DeserializeOwned + Send + Sync + 'async_trait,
    Self::Provider: PubsubClient, [src]
&'life0 self,
params: T
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, R>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Debug + Serialize + Send + Sync + 'async_trait,
R: DeserializeOwned + Send + Sync + 'async_trait,
Self::Provider: PubsubClient,
#[must_use]pub fn unsubscribe<'life0, 'async_trait, T>(
    &'life0 self, 
    id: T
) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    T: Into<U256> + Send + Sync + 'async_trait,
    Self::Provider: PubsubClient, [src]
&'life0 self,
id: T
) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
T: Into<U256> + Send + Sync + 'async_trait,
Self::Provider: PubsubClient,
#[must_use]pub fn subscribe_blocks<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, Block<H256>>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    Self::Provider: PubsubClient, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, Block<H256>>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
Self::Provider: PubsubClient,
#[must_use]pub fn subscribe_pending_txs<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait,
    Self::Provider: PubsubClient, [src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'life0, Self::Provider, H256>, Self::Error>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Self: 'async_trait,
Self::Provider: PubsubClient,
#[must_use]pub fn subscribe_logs<'a, 'life0, 'async_trait>(
    &'a self, 
    filter: &'life0 Filter
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'a, Self::Provider, Log>, Self::Error>> + 'async_trait + Send, Global>> where
    'a: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait,
    Self::Provider: PubsubClient, [src]
&'a self,
filter: &'life0 Filter
) -> Pin<Box<dyn Future<Output = Result<SubscriptionStream<'a, Self::Provider, Log>, Self::Error>> + 'async_trait + Send, Global>> where
'a: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Self::Provider: PubsubClient,
Auto Trait Implementations
impl<M, G> RefUnwindSafe for GasOracleMiddleware<M, G> where
    G: RefUnwindSafe,
    M: RefUnwindSafe, [src]
G: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, G> Send for GasOracleMiddleware<M, G> where
    G: Send,
    M: Send, [src]
G: Send,
M: Send,
impl<M, G> Sync for GasOracleMiddleware<M, G> where
    G: Sync,
    M: Sync, [src]
G: Sync,
M: Sync,
impl<M, G> Unpin for GasOracleMiddleware<M, G> where
    G: Unpin,
    M: Unpin, [src]
G: Unpin,
M: Unpin,
impl<M, G> UnwindSafe for GasOracleMiddleware<M, G> where
    G: UnwindSafe,
    M: UnwindSafe, [src]
G: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Conv for T
impl<T> FmtForward for T
pub fn fmt_binary(self) -> FmtBinary<Self> where
    Self: Binary, 
Self: Binary,
pub fn fmt_display(self) -> FmtDisplay<Self> where
    Self: Display, 
Self: Display,
pub fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
    Self: LowerExp, 
Self: LowerExp,
pub fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
    Self: LowerHex, 
Self: LowerHex,
pub fn fmt_octal(self) -> FmtOctal<Self> where
    Self: Octal, 
Self: Octal,
pub fn fmt_pointer(self) -> FmtPointer<Self> where
    Self: Pointer, 
Self: Pointer,
pub fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
    Self: UpperExp, 
Self: UpperExp,
pub fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
    Self: UpperHex, 
Self: UpperHex,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Pipe for T
impl<T> PipeAsRef for T
pub fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
    Self: AsRef<T>,
    T: 'a,
    R: 'a, 
Self: AsRef<T>,
T: 'a,
R: 'a,
pub fn pipe_as_mut<'a, T, R>(
    &'a mut self, 
    func: impl FnOnce(&'a mut T) -> R
) -> R where
    Self: AsMut<T>,
    T: 'a,
    R: 'a, 
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: AsMut<T>,
T: 'a,
R: 'a,
impl<T> PipeBorrow for T
pub fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
    Self: Borrow<T>,
    T: 'a,
    R: 'a, 
Self: Borrow<T>,
T: 'a,
R: 'a,
pub fn pipe_borrow_mut<'a, T, R>(
    &'a mut self, 
    func: impl FnOnce(&'a mut T) -> R
) -> R where
    Self: BorrowMut<T>,
    T: 'a,
    R: 'a, 
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: BorrowMut<T>,
T: 'a,
R: 'a,
impl<T> PipeDeref for T
pub fn pipe_deref<'a, R>(
    &'a self, 
    func: impl FnOnce(&'a Self::Target) -> R
) -> R where
    Self: Deref,
    R: 'a, 
&'a self,
func: impl FnOnce(&'a Self::Target) -> R
) -> R where
Self: Deref,
R: 'a,
pub fn pipe_deref_mut<'a, R>(
    &'a mut self, 
    func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
    Self: DerefMut,
    R: 'a, 
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
Self: DerefMut,
R: 'a,
impl<T> PipeRef for T
pub fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
    R: 'a, 
R: 'a,
pub fn pipe_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
    R: 'a, 
R: 'a,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Tap for T
pub fn tap<F, R>(self, func: F) -> Self where
    F: FnOnce(&Self) -> R, 
F: FnOnce(&Self) -> R,
pub fn tap_dbg<F, R>(self, func: F) -> Self where
    F: FnOnce(&Self) -> R, 
F: FnOnce(&Self) -> R,
pub fn tap_mut<F, R>(self, func: F) -> Self where
    F: FnOnce(&mut Self) -> R, 
F: FnOnce(&mut Self) -> R,
pub fn tap_mut_dbg<F, R>(self, func: F) -> Self where
    F: FnOnce(&mut Self) -> R, 
F: FnOnce(&mut Self) -> R,
impl<T, U> TapAsRef<U> for T where
    U: ?Sized, 
U: ?Sized,
pub fn tap_ref<F, R>(self, func: F) -> Self where
    Self: AsRef<T>,
    F: FnOnce(&T) -> R, 
Self: AsRef<T>,
F: FnOnce(&T) -> R,
pub fn tap_ref_dbg<F, R>(self, func: F) -> Self where
    Self: AsRef<T>,
    F: FnOnce(&T) -> R, 
Self: AsRef<T>,
F: FnOnce(&T) -> R,
pub fn tap_ref_mut<F, R>(self, func: F) -> Self where
    Self: AsMut<T>,
    F: FnOnce(&mut T) -> R, 
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
pub fn tap_ref_mut_dbg<F, R>(self, func: F) -> Self where
    Self: AsMut<T>,
    F: FnOnce(&mut T) -> R, 
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
impl<T, U> TapBorrow<U> for T where
    U: ?Sized, 
U: ?Sized,
pub fn tap_borrow<F, R>(self, func: F) -> Self where
    Self: Borrow<T>,
    F: FnOnce(&T) -> R, 
Self: Borrow<T>,
F: FnOnce(&T) -> R,
pub fn tap_borrow_dbg<F, R>(self, func: F) -> Self where
    Self: Borrow<T>,
    F: FnOnce(&T) -> R, 
Self: Borrow<T>,
F: FnOnce(&T) -> R,
pub fn tap_borrow_mut<F, R>(self, func: F) -> Self where
    Self: BorrowMut<T>,
    F: FnOnce(&mut T) -> R, 
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
pub fn tap_borrow_mut_dbg<F, R>(self, func: F) -> Self where
    Self: BorrowMut<T>,
    F: FnOnce(&mut T) -> R, 
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
impl<T> TapDeref for T
pub fn tap_deref<F, R>(self, func: F) -> Self where
    Self: Deref,
    F: FnOnce(&Self::Target) -> R, 
Self: Deref,
F: FnOnce(&Self::Target) -> R,
pub fn tap_deref_dbg<F, R>(self, func: F) -> Self where
    Self: Deref,
    F: FnOnce(&Self::Target) -> R, 
Self: Deref,
F: FnOnce(&Self::Target) -> R,
pub fn tap_deref_mut<F, R>(self, func: F) -> Self where
    Self: DerefMut,
    F: FnOnce(&mut Self::Target) -> R, 
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
pub fn tap_deref_mut_dbg<F, R>(self, func: F) -> Self where
    Self: DerefMut,
    F: FnOnce(&mut Self::Target) -> R, 
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
impl<T> TryConv for T
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,