pub fn last_index(&self) -> u64 {
        if let Some(index) = self.unstable.maybe_last_index() {
            index
        } else {
            // TODO(bdarnell)
            self.storage
                .last_index()
                .map_err(|err| unimplemented!("{}", err))
                .unwrap()
        }
    }
/// Returns the last index of the log entries
Returns the last index of the log entries
Returns the last index of the log entries
pub fn last_index(&self) -> u64 {
        if let Some(index) = self.unstable.maybe_last_index() {
            index
        } else {
            // TODO(bdarnell)
            self.storage
                .last_index()
                .map_err(|err| unimplemented!("{}", err))
                .unwrap()
        }
    }
pub fn last_index ( & self ) -> u64 { if let Some ( index ) = self . unstable . maybe_last_index ( ) { index } else { // TODO(bdarnell) self . storage . last_index ( ) . map_err ( | err | unimplemented ! ( " " err ) ) . unwrap ( ) } }
Returns the last index of the log entries
Returns the last index of the log entries
&self