pub fn ready(&mut self) -> Ready {
        let mut ready = self.ready_without_accept();
        self.accept_ready(&ready);
        ready
    }
// Ready returns the outstanding work that the application needs to handle. This
// includes appending and applying entries or a snapshot, updating the HardState,
// and sending messages. The returned Ready() *must* be handled and subsequently
// passed back via Advance().
Ready returns the outstanding work that the application needs to handle. This
includes appending and applying entries or a snapshot, updating the HardState,
and sending messages. The returned Ready() *must* be handled and subsequently
passed back via Advance().
Ready returns the outstanding work that the application needs to handle . This includes appending and applying entries or a snapshot updating the HardState and sending messages . The returned Ready () * must * be handled and subsequently passed back via Advance () .
pub fn ready(&mut self) -> Ready {
        let mut ready = self.ready_without_accept();
        self.accept_ready(&ready);
        ready
    }
pub fn ready ( & mut self ) -> Ready { let mut ready = self . ready_without_accept ( ) ; self . accept_ready ( & ready ) ; ready }
Ready returns the outstanding work that the application needs to handle.
Ready returns the outstanding work that the application needs to handle .
&mut self