[][src]Struct eventstore::types::GossipSeedClusterSettings

pub struct GossipSeedClusterSettings { /* fields omitted */ }

Contains settings related to a cluster of fixed nodes.

Methods

impl GossipSeedClusterSettings[src]

pub fn new(seeds: Vec1<GossipSeed>) -> GossipSeedClusterSettings[src]

Creates a GossipSeedClusterSettings from a non-empty list of gossip seeds.

pub fn set_gossip_timeout(
    self,
    gossip_timeout: Duration
) -> GossipSeedClusterSettings
[src]

Maximum duration a node should take when requested a gossip request.

pub fn set_max_discover_attempts(
    self,
    max_attempt: usize
) -> GossipSeedClusterSettings
[src]

Maximum number of retries during a discovery process. Discovery process is when the client tries to figure out the best node to connect to.

Trait Implementations

impl Debug for GossipSeedClusterSettings[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, 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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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