Struct ethers_middleware::gas_oracle::cache::Cache
source · pub struct Cache<T: GasOracle> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<T: GasOracle> GasOracle for Cache<T>
impl<T: GasOracle> GasOracle for Cache<T>
source§fn fetch<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<U256>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<U256>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Cache<T>
impl<T> Send for Cache<T>
impl<T> Sync for Cache<T>
impl<T> Unpin for Cache<T>where T: Unpin,
impl<T> !UnwindSafe for Cache<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more