pub fn term(&self) -> u64 {
        // Your code here.
        // Example:
        // self.raft.term
        self.raft.to_owned().state.to_owned().lock().unwrap().term
    }
/// The current term of this peer.
The current term of this peer.
The current term of this peer .
pub fn term(&self) -> u64 {
        // Your code here.
        // Example:
        // self.raft.term
        self.raft.to_owned().state.to_owned().lock().unwrap().term
    }
pub fn term ( & self ) -> u64 { // Your code here. // Example: // self.raft.term self . raft . to_owned ( ) . state . to_owned ( ) . lock ( ) . unwrap ( ) . term }
The current term of this peer.
The current term of this peer .
&self