Skip to main content

verdict

Function verdict 

Source
pub fn verdict(
    outcome: Result<CustomerState, CleanLibraryError>,
) -> Result<Assessment, CleanLibraryError>
Expand description

verdict() — RETURNS style. Passes a completed assessment through as an Assessment value (a Block is a value, NOT an Err) and reserves Err strictly for “couldn’t get a verdict” (coverage incomplete / attestation invalid / transport / server — whatever the acquisition surfaced).

outcome is the raw per-coordinate acquisition result: Ok(state) once a verdict of some tier was derived, Err(e) when none could be.