pub type LearningResult<T> = Result<T, Error>;
A new type which provides clean access to the learning errors
pub enum LearningResult<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value