pub type Outcome = Result<ObjectId, ()>;
A way to indicate if a lookup, despite successful, was ambiguous or yielded exactly one result in the particular index.
enum Outcome { Ok(ObjectId), Err(()), }
Contains the success value
Contains the error value