Struct ethcore::trace::AddressesFilter [−][src]
pub struct AddressesFilter { /* fields omitted */ }
Addresses filter.
Used to create bloom possibilities and match filters.
Methods
impl AddressesFilter
[src]
impl AddressesFilter
pub fn matches(&self, address: &Address) -> bool
[src]
pub fn matches(&self, address: &Address) -> bool
Returns true if address matches one of the searched addresses.
pub fn matches_all(&self) -> bool
[src]
pub fn matches_all(&self) -> bool
Returns true if this address filter matches everything.
pub fn blooms(&self) -> Vec<Bloom>
[src]
pub fn blooms(&self) -> Vec<Bloom>
Returns blooms of this addresses filter.
pub fn with_blooms(&self, blooms: Vec<Bloom>) -> Vec<Bloom>
[src]
pub fn with_blooms(&self, blooms: Vec<Bloom>) -> Vec<Bloom>
Returns vector of blooms zipped with blooms of this addresses filter.
Trait Implementations
impl Debug for AddressesFilter
[src]
impl Debug for AddressesFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Vec<Address>> for AddressesFilter
[src]
impl From<Vec<Address>> for AddressesFilter
Auto Trait Implementations
impl Send for AddressesFilter
impl Send for AddressesFilter
impl Sync for AddressesFilter
impl Sync for AddressesFilter