pub fn display_temperature(&mut self, temperature: i16, unit: TempUnits, lo_thresh: Option<i16>, hi_thresh: Option<i16>) -> Result<(), Error<E>> {
        
        let temp_unit = match unit {
            TempUnits::Celsius => 'C',
            TempUnits::Fahrenheit => 'F',
        };                         
        
        self.display_data(temperature, temp_unit, lo_thresh, hi_thresh, -99, 999)?;

        Ok(())

    }
/// Display temperature between -99 and 999 with a chosen unit, with lower and upper threshold
Display temperature between -99 and 999 with a chosen unit, with lower and upper threshold
Display temperature between - 99 and 999 with a chosen unit with lower and upper threshold
pub fn display_temperature(&mut self, temperature: i16, unit: TempUnits, lo_thresh: Option<i16>, hi_thresh: Option<i16>) -> Result<(), Error<E>> {
        let temp_unit = match unit {
            TempUnits::Celsius => 'C',
            TempUnits::Fahrenheit => 'F',
        };                         
        self.display_data(temperature, temp_unit, lo_thresh, hi_thresh, -99, 999)?;
        Ok(())
    }
pub fn display_temperature ( & mut self , temperature : i16 , unit : TempUnits , lo_thresh : Option < i16 > , hi_thresh : Option < i16 > ) -> Result < ( ) , Error < E > > { let temp_unit = match unit { TempUnits :: Celsius => 'C' , TempUnits :: Fahrenheit => 'F' , } ; self . display_data ( temperature , temp_unit , lo_thresh , hi_thresh , - 99 , 999 ) ? ; Ok ( ( ) ) }
Display temperature between -99 and 999 with a chosen unit, with lower and upper threshold
Display temperature between - 99 and 999 with a chosen unit with lower and upper threshold
&mut self
temperature
i16
unit
TempUnits
lo_thresh
Option<i16>
hi_thresh
Option<i16>
&mut self
temperature
i16
unit
TempUnits
lo_thresh
Option<i16>
hi_thresh
Option<i16>