Turn status (the read side of the lifecycle).
(
store: &RedbChangeStore,
session_id: &str,
turn_number: u32,
)
| 430 | |
| 431 | /// Turn status (the read side of the lifecycle). |
| 432 | pub fn get_turn( |
| 433 | store: &RedbChangeStore, |
| 434 | session_id: &str, |
| 435 | turn_number: u32, |
| 436 | ) -> Result<Option<StoredProvenanceTurn>, JournalError> { |
| 437 | lifecycle_lookup(store, session_id, turn_number) |
| 438 | } |
| 439 | |
| 440 | #[cfg(test)] |
| 441 | mod tests { |
no test coverage detected