Function etcd::stats::self_stats

source ·
pub fn self_stats<C>(
    client: &Client<C>
) -> impl Stream<Item = Response<SelfStats>, Error = Error> + Sendwhere
    C: Clone + Connect,
Expand description

Returns statistics about each cluster member the client was initialized with.

Fails if JSON decoding fails, which suggests a bug in our schema.