[][src]Struct poldercast::poldercast::Vicinity

pub struct Vicinity { /* fields omitted */ }

The Vicinity module is responsible for maintaining interest-induced random links, that is, randomly chosen links between nodes that share one or more topics. Such links serve as input to the Rings module. Additionally, they are used by the dissemination protocol to propagate events to arbitrary subscribers of a topic.

Implementations

impl Vicinity[src]

pub fn new(max_view_size: usize, max_gossip_length: usize) -> Self[src]

Trait Implementations

impl Clone for Vicinity[src]

impl Debug for Vicinity[src]

impl Default for Vicinity[src]

impl Layer for Vicinity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,