Skip to main content

scan_exhaustion_from_proto

Function scan_exhaustion_from_proto 

Source
pub fn scan_exhaustion_from_proto(verdict: i32) -> ScanExhaustion
Expand description

Map a present wire scan-exhaustion verdict. Unknown NON-ZERO values (a future enum addition this client does not know) read as Limited — the safe “stopped at a demand boundary; resume or infer” reading, never a terminal claim. The zero placeholder is handled one layer up by scan_exhaustion_from_proto_opt, which maps it to absence per the wire contract.