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 AddressesFilterpub fn matches(&self, address: &Address) -> bool[src]
pub fn matches(&self, address: &Address) -> boolReturns true if address matches one of the searched addresses.
pub fn matches_all(&self) -> bool[src]
pub fn matches_all(&self) -> boolReturns 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 AddressesFilterfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Vec<Address>> for AddressesFilter[src]
impl From<Vec<Address>> for AddressesFilterAuto Trait Implementations
impl Send for AddressesFilter
impl Send for AddressesFilterimpl Sync for AddressesFilter
impl Sync for AddressesFilter