pub type EffectResult = Result<Box<dyn Any + Send>, Box<dyn Error + Send>>;
pub enum EffectResult { Ok(Box<dyn Any + Send>), Err(Box<dyn Error + Send>), }
Contains the success value
Contains the error value