Struct vapcore_trace::AddressesFilter[][src]

pub struct AddressesFilter { /* fields omitted */ }

Addresses filter.

Used to create bloom possibilities and match filters.

Implementations

impl AddressesFilter[src]

pub fn matches(&self, address: &Address) -> bool[src]

Returns true if address matches one of the searched addresses.

pub fn matches_all(&self) -> bool[src]

Returns true if this address filter matches everything.

pub fn blooms(&self) -> Vec<Bloom>[src]

Returns blooms of this addresses filter.

pub fn with_blooms(&self, blooms: Vec<Bloom>) -> Vec<Bloom>[src]

Returns vector of blooms zipped with blooms of this addresses filter.

Trait Implementations

impl Debug for AddressesFilter[src]

impl From<Vec<H160, Global>> for AddressesFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,