pub trait AddressSet {
// Required method
fn contains(&self, address: &Address) -> bool;
}Expand description
A set of Addresses that can be checked for membership.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<S: BuildHasher> AddressSet for HashSet<Address, S>
Available on crate feature std only.
impl<S: BuildHasher> AddressSet for HashSet<Address, S>
Available on crate feature
std only.