fn log_index_to_idx(&self, log_index: u64) -> usize {
        assert!(
            log_index > self.state.last_included_index,
            "S{} Cannot access log index {} <= Raft's last_include_index = {}",
            self.me,
            log_index,
            self.state.last_included_index
        );
        (log_index - self.state.last_included_index) as usize
    }
/// Transform idx in all logs to index in `Raft.log`
Transform idx in all logs to index in `Raft.log`
Transform idx in all logs to index in ` Raft . log `
fn log_index_to_idx(&self, log_index: u64) -> usize {
        assert!(
            log_index > self.state.last_included_index,
            "S{} Cannot access log index {} <= Raft's last_include_index = {}",
            self.me,
            log_index,
            self.state.last_included_index
        );
        (log_index - self.state.last_included_index) as usize
    }
fn log_index_to_idx ( & self , log_index : u64 ) -> usize { assert ! ( log_index self state last_included_index " " self me log_index self state last_included_index ) ; ( log_index - self . state . last_included_index ) as usize }
Transform idx in all logs to index in `Raft.log`
Transform idx in all logs to index in ` Raft . log `
&self
log_index
u64
&self
log_index
u64