/// Append an entry to the replicated log.
Append an entry to the replicated log.
Append an entry to the replicated log .
pub fn append(&mut self, entry: T) -> Result<(), ProposeErr<T>> {
        if self.stopped() {
            Err(ProposeErr::Normal(entry))
        } else {
            self.propose_entry(entry);
            Ok(())
        }
    }
pub fn append ( & mut self , entry : T ) -> Result < ( ) , ProposeErr < T > > { if self . stopped ( ) { Err ( ProposeErr :: Normal ( entry ) ) } else { self . propose_entry ( entry ) ; Ok ( ( ) ) } }
Append an entry to the replicated log.
Append an entry to the replicated log .
&mut self
entry
T