Enum bitcoin::p2p::message_bloom::BloomFlags
source · 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§
source§impl Clone for BloomFlags
impl Clone for BloomFlags
source§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 moresource§impl Debug for BloomFlags
impl Debug for BloomFlags
source§impl Decodable for BloomFlags
impl Decodable for BloomFlags
source§impl Encodable for BloomFlags
impl Encodable for BloomFlags
source§impl PartialEq<BloomFlags> for BloomFlags
impl PartialEq<BloomFlags> for BloomFlags
source§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 StructuralEq for BloomFlags
impl StructuralPartialEq for BloomFlags
Auto Trait Implementations§
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