Type Alias gix_odb::store::prefix::lookup::Outcome

source ·
pub type Outcome = Result<ObjectId, ()>;
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 Outcome {
    Ok(ObjectId),
    Err(()),
}

Variants§

§1.0.0

Ok(ObjectId)

Contains the success value

§1.0.0

Err(())

Contains the error value