EnvironmentModule

Trait EnvironmentModule 

Source
pub trait EnvironmentModule {
    // Required method
    fn get_measurement(&mut self) -> Option<Measurement>;
}
Expand description

This interface is used to abstract the measurement logic from the rest of the application.

Required Methods§

Source

fn get_measurement(&mut self) -> Option<Measurement>

Optionally returns the measurement.

Implementors§