Skip to main content

admit_disclosure_with_semantic_inputs

Function admit_disclosure_with_semantic_inputs 

Source
pub fn admit_disclosure_with_semantic_inputs<E: MetadataExecutor, T>(
    db: &mut E,
    intent: &DisclosureIntent,
    semantic: Option<&SemanticState>,
    capture: impl FnOnce(&DisclosureSnapshot, Vec<GovernedDatasetLocation>) -> Result<T, ()>,
) -> Result<(DisclosureSnapshot, T), PgMetaError>
where E::Row: SchemaStatusRow,