[][src]Struct zeebe::TopologyResponse

pub struct TopologyResponse(_);

The current topology of the cluster

Implementations

impl TopologyResponse[src]

pub fn brokers(&self) -> Vec<BrokerInfo>[src]

List of brokers part of this cluster

pub fn cluster_size(&self) -> u32[src]

How many nodes are in the cluster.

pub fn partitions_count(&self) -> u32[src]

How many partitions are spread across the cluster.

pub fn replication_factor(&self) -> u32[src]

Configured replication factor for this cluster.

pub fn gateway_version(&self) -> &str[src]

gateway version

Trait Implementations

impl Debug for TopologyResponse[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> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]