pub fn propose_conf_change(&mut self, conf_change: impl ConfChangeI) -> Result<(), RaftError> {
        let entry = conf_change.to_entry();
        let mut msg = Message::new();
        msg.set_field_type(MessageType::MsgProp);
        msg.set_entries(RepeatedField::from_slice(&vec![entry]));
        self.raft.step(msg)
    }
/// ProposeConfChange proposes a config message.
ProposeConfChange proposes a config message.
ProposeConfChange proposes a config message .
pub fn propose_conf_change(&mut self, conf_change: impl ConfChangeI) -> Result<(), RaftError> {
        let entry = conf_change.to_entry();
        let mut msg = Message::new();
        msg.set_field_type(MessageType::MsgProp);
        msg.set_entries(RepeatedField::from_slice(&vec![entry]));
        self.raft.step(msg)
    }
pub fn propose_conf_change ( & mut self , conf_change : impl ConfChangeI ) -> Result < ( ) , RaftError > { let entry = conf_change . to_entry ( ) ; let mut msg = Message :: new ( ) ; msg . set_field_type ( MessageType :: MsgProp ) ; msg . set_entries ( RepeatedField :: from_slice ( & vec ! [ entry ] ) ) ; self . raft . step ( msg ) }
ProposeConfChange proposes a config message.
ProposeConfChange proposes a config message .
&mut self
conf_change
impl ConfChangeI