Enum bdk_chain::bitcoin::p2p::message_bloom::BloomFlags
pub enum BloomFlags {
None,
All,
PubkeyOnly,
}
Expand description
Bloom filter update flags
Variants§
None
Never update the filter with outpoints.
All
Always update the filter with outpoints.
PubkeyOnly
Only update the filter with outpoints if it is P2PK or P2MS
Trait Implementations§
§impl Clone for BloomFlags
impl Clone for BloomFlags
§fn clone(&self) -> BloomFlags
fn clone(&self) -> BloomFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for BloomFlags
impl Debug for BloomFlags
§impl Decodable for BloomFlags
impl Decodable for BloomFlags
§impl Encodable for BloomFlags
impl Encodable for BloomFlags
§impl PartialEq for BloomFlags
impl PartialEq for BloomFlags
§fn eq(&self, other: &BloomFlags) -> bool
fn eq(&self, other: &BloomFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BloomFlags
impl Eq for BloomFlags
impl StructuralPartialEq for BloomFlags
Auto Trait Implementations§
impl Freeze for BloomFlags
impl RefUnwindSafe for BloomFlags
impl Send for BloomFlags
impl Sync for BloomFlags
impl Unpin for BloomFlags
impl UnwindSafe for BloomFlags
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more