[−][src]Struct eventstore::types::GossipSeedClusterSettings
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]
self,
gossip_timeout: Duration
) -> GossipSeedClusterSettings
Maximum duration a node should take when requested a gossip request.
pub fn set_max_discover_attempts(
self,
max_attempt: usize
) -> GossipSeedClusterSettings
[src]
self,
max_attempt: usize
) -> GossipSeedClusterSettings
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
Auto Trait Implementations
impl RefUnwindSafe for GossipSeedClusterSettings
impl Send for GossipSeedClusterSettings
impl Sync for GossipSeedClusterSettings
impl Unpin for GossipSeedClusterSettings
impl UnwindSafe for GossipSeedClusterSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,