Enum primitives::filter::LogFilter
source · pub enum LogFilter {
EpochLogFilter {
from_epoch: EpochNumber,
to_epoch: EpochNumber,
params: LogFilterParams,
},
BlockHashLogFilter {
block_hashes: Vec<H256>,
params: LogFilterParams,
},
BlockNumberLogFilter {
from_block: u64,
to_block: u64,
params: LogFilterParams,
},
}
Variants§
Methods from Deref<Target = LogFilterParams>§
sourcepub fn bloom_possibilities(&self) -> Vec<Bloom>
pub fn bloom_possibilities(&self) -> Vec<Bloom>
Returns combinations of each address and topic.
Trait Implementations§
source§impl PartialEq for LogFilter
impl PartialEq for LogFilter
impl Eq for LogFilter
impl StructuralPartialEq for LogFilter
Auto Trait Implementations§
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnwindSafe for LogFilter
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