pub struct AddressesFilter { /* private fields */ }
Expand description
Addresses filter.
Used to create bloom possibilities and match filters.
Implementations
sourceimpl AddressesFilter
impl AddressesFilter
sourcepub fn matches(&self, address: &Address) -> bool
pub fn matches(&self, address: &Address) -> bool
Returns true if address matches one of the searched addresses.
sourcepub fn matches_all(&self) -> bool
pub fn matches_all(&self) -> bool
Returns true if this address filter matches everything.
Trait Implementations
sourceimpl Debug for AddressesFilter
impl Debug for AddressesFilter
Auto Trait Implementations
impl RefUnwindSafe for AddressesFilter
impl Send for AddressesFilter
impl Sync for AddressesFilter
impl Unpin for AddressesFilter
impl UnwindSafe for AddressesFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more