Return the current index
(&self)
| 51 | impl BatchIndex { |
| 52 | /// Return the current index |
| 53 | pub fn value(&self) -> usize { |
| 54 | let inner = self.inner.lock().unwrap(); |
| 55 | *inner |
| 56 | } |
| 57 | |
| 58 | // increment the current index by one |
| 59 | pub fn incr(&self) { |
no outgoing calls
no test coverage detected