chitchat
chitchat copied to clipboard
Make public `NodeState` struct
This is motivated by this PR: https://github.com/quickwit-oss/quickwit/pull/1838
In Quickwit, we need to build members from pairs of (key, value) stored in NodeState. Being able to define a build_from_node_state method on Member struct would be nice.
This is also consistent with the fact that the ClusterStateSnapshot struct is public.