/// Create a new default State that starts a new cluster in a
/// Yellow state.
Create a new default State that starts a new cluster in a
Yellow state.
Create a new default State that starts a new cluster in a Yellow state .
pub fn new() -> State {
        State {
            eager: HashSet::new(),
            lazy: HashSet::new(),
            health: Yellow,
            broadcasts: Vec::new()
        }
    }
pub fn new ( ) -> State { State { eager : HashSet :: new ( ) , lazy : HashSet :: new ( ) , health : Yellow , broadcasts : Vec :: new ( ) } }
Create a new default State that starts a new cluster in a
Yellow state.
Create a new default State that starts a new cluster in a Yellow state .