Skip to main content

lookup

Function lookup 

Source
pub fn lookup(
    table: &CacheTable,
    scope: u64,
    source_generation: Generation,
    policy_generation: Generation,
    abi_tag: u64,
) -> Result<CacheLookup, QdnfError>
Expand description

Look up by live generations. Generation mismatch on the same scope/ABI is CacheLookup::UntrustedMiss. Absence after eviction is CacheLookup::Miss.