pub struct EthFilter<T> { /* private fields */ }
Expand description
Eth
namespace, filters
Implementations§
Source§impl<T: Transport> EthFilter<T>
impl<T: Transport> EthFilter<T>
Sourcepub async fn create_logs_filter(
self,
filter: Filter,
) -> Result<BaseFilter<T, Log>>
pub async fn create_logs_filter( self, filter: Filter, ) -> Result<BaseFilter<T, Log>>
Installs a new logs filter.
Sourcepub async fn create_blocks_filter(self) -> Result<BaseFilter<T, H256>>
pub async fn create_blocks_filter(self) -> Result<BaseFilter<T, H256>>
Installs a new block filter.
Sourcepub async fn create_pending_transactions_filter(
self,
) -> Result<BaseFilter<T, H256>>
pub async fn create_pending_transactions_filter( self, ) -> Result<BaseFilter<T, H256>>
Installs a new pending transactions filter.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for EthFilter<T>where
T: Freeze,
impl<T> RefUnwindSafe for EthFilter<T>where
T: RefUnwindSafe,
impl<T> Send for EthFilter<T>where
T: Send,
impl<T> Sync for EthFilter<T>where
T: Sync,
impl<T> Unpin for EthFilter<T>where
T: Unpin,
impl<T> UnwindSafe for EthFilter<T>where
T: UnwindSafe,
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