pub type Result<T, E = Error> = Result<T, E>;
A convenience type definition for Result where the error is hardwired to Error.
Result
Error
enum Result<T, E = Error> { Ok(T), Err(E), }
Contains the success value
Contains the error value