Enum ethers_providers::FilterKind
source · pub enum FilterKind<'a> {
Logs(&'a Filter),
NewBlocks,
PendingTransactions,
}
Expand description
Types of filters supported by the JSON-RPC.
Variants§
Logs(&'a Filter)
eth_newBlockFilter
NewBlocks
eth_newBlockFilter
filter
PendingTransactions
eth_newPendingTransactionFilter
filter
Trait Implementations§
source§impl<'a> Clone for FilterKind<'a>
impl<'a> Clone for FilterKind<'a>
source§fn clone(&self) -> FilterKind<'a>
fn clone(&self) -> FilterKind<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for FilterKind<'a>
impl<'a> Send for FilterKind<'a>
impl<'a> Sync for FilterKind<'a>
impl<'a> Unpin for FilterKind<'a>
impl<'a> UnwindSafe for FilterKind<'a>
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