pub trait Expected { // Required method fn expected(&self) -> &'static str; }
To display an error when the expected type is different from the current value.