1
2
3
4
5
6
7
8
9
10
pub mod nbr_sensors_setup;

/// This trait represents a discovery strategy for the platform
pub trait Discovery {
    /// Discovers the neighbours of the device
    ///
    /// # Returns
    /// A vector containing the ids of the neighbours
    fn discover_neighbors(&self) -> Vec<i32>;
}