Struct bitcoin_fuzz::AddrManDeterministic
source · pub struct AddrManDeterministic { /* private fields */ }Expand description
Implementations§
source§impl AddrManDeterministic
impl AddrManDeterministic
pub fn new( asmap: Vec<bool>, fuzzed_data_provider: &mut FuzzedDataProvider ) -> Self
Trait Implementations§
source§impl PartialEq<AddrManDeterministic> for AddrManDeterministic
impl PartialEq<AddrManDeterministic> for AddrManDeterministic
source§fn eq(&self, other: &AddrManDeterministic) -> bool
fn eq(&self, other: &AddrManDeterministic) -> bool
| Compare with another AddrMan.
|
| This compares:
|
| - the values in mapInfo (the keys aka
| ids are ignored)
|
| - vvNew entries refer to the same addresses
|
| - vvTried entries refer to the same addresses
|
impl Eq for AddrManDeterministic
Auto Trait Implementations§
impl !RefUnwindSafe for AddrManDeterministic
impl Send for AddrManDeterministic
impl Sync for AddrManDeterministic
impl Unpin for AddrManDeterministic
impl UnwindSafe for AddrManDeterministic
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more