pub type Result<T> = Result<T, Error>;
A Result type.
enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value
Convert into a result. Will be Ok if it is a Success and Err if Failure.
Ok
Success
Err
Failure