Skip to main content

PreflightCache

Type Alias PreflightCache 

Source
type PreflightCache = Option<(RawLabelSource, Option<RawScanPreparation>)>;
Expand description

Memoized raw-scan preflight: the label binding it was computed for, and its answer.

A cached None means the scan cannot serve this label binding.

Aliased Type§

enum PreflightCache {
    None,
    Some((RawLabelSource, Option<RawScanPreparation>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((RawLabelSource, Option<RawScanPreparation>))

Some value of type T.