pub type Result<T> = Result<T, MainError>;
A result from running the go function
pub enum Result<T> { Ok(T), Err(MainError), }
Contains the success value
Contains the error value