Trait NbrSensorSetup

Source
pub trait NbrSensorSetup {
    // Required method
    fn nbr_sensor_setup(&self, nbrs: Vec<i32>) -> NbrSensors;
}
Expand description

This trait represent a strategy to setup the neighbouring sensors of the device.

Required Methods§

Source

fn nbr_sensor_setup(&self, nbrs: Vec<i32>) -> NbrSensors

Setup the neighbouring sensors of the device.

§Arguments
  • nbrs - The ids of the neighbouring sensors.
§Returns

A map containing the neighbouring sensors.

Implementors§