pub type Result = Result<Option<Outcome>, Error>;
The Result type used in credentials top-level functions to obtain a complete identity.
enum Result { Ok(Option<Outcome>), Err(Error), }
Contains the success value
Contains the error value