pub fn transfer_leader(&mut self, transferee: u64) {
        let mut msg = Message::new();
        msg.set_field_type(MessageType::MsgTransferLeader);
        msg.set_from(transferee);
        self.raft.step(msg);
    }
/// TransferLeader tris=es to transfer leadership to the given transferee.
TransferLeader tris=es to transfer leadership to the given transferee.
TransferLeader tris = es to transfer leadership to the given transferee .
pub fn transfer_leader(&mut self, transferee: u64) {
        let mut msg = Message::new();
        msg.set_field_type(MessageType::MsgTransferLeader);
        msg.set_from(transferee);
        self.raft.step(msg);
    }
pub fn transfer_leader ( & mut self , transferee : u64 ) { let mut msg = Message :: new ( ) ; msg . set_field_type ( MessageType :: MsgTransferLeader ) ; msg . set_from ( transferee ) ; self . raft . step ( msg ) ; }
TransferLeader tris=es to transfer leadership to the given transferee.
TransferLeader tris = es to transfer leadership to the given transferee .
&mut self
transferee
u64