pub struct LocalBloom {
pub advertised: Bloom,
pub required: Bloom,
pub preferred: Bloom,
}Expand description
What the local node advertises and how it filters peers.
advertised is sent on the wire. required and preferred never
leave the node; they drive routing-table filtering: a peer must
cover required and, when preferred is non-empty, intersect it.
Fields§
§advertised: Bloom§required: Bloom§preferred: BloomImplementations§
Trait Implementations§
Source§impl Clone for LocalBloom
impl Clone for LocalBloom
Source§fn clone(&self) -> LocalBloom
fn clone(&self) -> LocalBloom
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LocalBloom
Source§impl Debug for LocalBloom
impl Debug for LocalBloom
Source§impl Default for LocalBloom
impl Default for LocalBloom
Source§fn default() -> LocalBloom
fn default() -> LocalBloom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalBloom
impl RefUnwindSafe for LocalBloom
impl Send for LocalBloom
impl Sync for LocalBloom
impl Unpin for LocalBloom
impl UnsafeUnpin for LocalBloom
impl UnwindSafe for LocalBloom
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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