pub type Result<T = (), E = Error> = Result<T, E>;
A type alias for a result that uses the Error type defined above.
Error
pub enum Result<T = (), E = Error> { Ok(T), Err(E), }
Contains the success value
Contains the error value