pub struct FilterLoad {
pub filter: Vec<u8>,
pub hash_funcs: u32,
pub tweak: u32,
pub flags: BloomFlags,
}
Available on crate feature
std
only.Expand description
filterload
message sets the current bloom filter
Fields§
§filter: Vec<u8>
The filter itself
hash_funcs: u32
The number of hash functions to use
tweak: u32
A random value
flags: BloomFlags
Controls how matched items are added to the filter
Trait Implementations§
Source§impl Clone for FilterLoad
impl Clone for FilterLoad
Source§fn clone(&self) -> FilterLoad
fn clone(&self) -> FilterLoad
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 FilterLoad
impl Debug for FilterLoad
Source§impl Decodable for FilterLoad
impl Decodable for FilterLoad
Source§fn consensus_decode_from_finite_reader<R: Read + ?Sized>(
r: &mut R,
) -> Result<FilterLoad, Error>
fn consensus_decode_from_finite_reader<R: Read + ?Sized>( r: &mut R, ) -> Result<FilterLoad, Error>
Decode
Self
from a size-limited reader. Read moreSource§fn consensus_decode<R: Read + ?Sized>(r: &mut R) -> Result<FilterLoad, Error>
fn consensus_decode<R: Read + ?Sized>(r: &mut R) -> Result<FilterLoad, Error>
Decode an object with a well-defined format. Read more
Source§impl Encodable for FilterLoad
impl Encodable for FilterLoad
Source§impl PartialEq for FilterLoad
impl PartialEq for FilterLoad
impl Eq for FilterLoad
impl StructuralPartialEq for FilterLoad
Auto Trait Implementations§
impl Freeze for FilterLoad
impl RefUnwindSafe for FilterLoad
impl Send for FilterLoad
impl Sync for FilterLoad
impl Unpin for FilterLoad
impl UnwindSafe for FilterLoad
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)