Skip to main content

validate_session

Function validate_session 

Source
pub fn validate_session(
    plan: &AdmittedCapturePlan,
    discovery: &CaptureDiscovery,
    estimate: impl FnMut(&[u64], &CaptureSelection, &ResolvedCaptureSlice) -> Result<CaptureUsage, CaptureError>,
) -> Result<(), CaptureError>
Expand description

Revalidates admission against the loaded catalog, then checks known geometry and budgets with backend estimates. Native execution-mode checks stay with the caller; this helper never accesses a device or starts a submission.