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§
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