pub type Result<T> = Result<T, Error>;
A Result type containing an error String.
Result
String
pub enum Result<T> { Ok(T), Err(String), }
Contains the success value
Contains the error value