Function raft_proto::parse_conf_change [−][src]
pub fn parse_conf_change(s: &str) -> Result<Vec<ConfChangeSingle>, String>
Parses a Space-delimited sequence of operations into a slice of ConfChangeSingle. The supported operations are:
- vn: make n a voter,
- ln: make n a learner,
- rn: remove n