gix_pack::index

Type Alias PrefixLookupResult

Source
pub type PrefixLookupResult = Result<EntryIndex, ()>;
Expand description

A way to indicate if a lookup, despite successful, was ambiguous or yielded exactly one result in the particular index.

Aliased Type§

enum PrefixLookupResult {
    Ok(u32),
    Err(()),
}

Variants§

§1.0.0

Ok(u32)

Contains the success value

§1.0.0

Err(())

Contains the error value