Derive SetId V1 from the canonical effective projection closure.
(txn: &T, view: &ViewState)
| 30 | |
| 31 | /// Derive SetId V1 from the canonical effective projection closure. |
| 32 | pub fn view_set_id<T: ViewTxnT>(txn: &T, view: &ViewState) -> Result<SetId, RepositoryError> { |
| 33 | Ok(effective_projection_identity(txn, view)?.set_id) |
| 34 | } |
| 35 | |
| 36 | /// Derive both identities from one validated projection closure. |
| 37 | pub fn effective_projection_identity<T: ViewTxnT>( |
no test coverage detected