Skip to main content

HumidityClient

Trait HumidityClient 

Source
pub trait HumidityClient {
    // Required method
    fn callback(&self, value: usize);
}
Expand description

Client for receiving humidity readings.

Required Methods§

Source

fn callback(&self, value: usize)

Called when a humidity reading has completed.

  • value: the most recently read humidity in hundredths of percent.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§