pub type BmiResult<T> = Result<T, Box<dyn Error + Send + Sync>>;
A BMI operation’s result, preserving the model’s error information.
pub enum BmiResult<T> { Ok(T), Err(Box<dyn Error + Sync + Send>), }
Contains the success value
Contains the error value