Trait Discovery

Source
pub trait Discovery {
    // Required method
    fn discover_neighbors(&self) -> Vec<i32>;
}
Expand description

This trait represents a discovery strategy for the platform

Required Methods§

Source

fn discover_neighbors(&self) -> Vec<i32>

Discovers the neighbours of the device

§Returns

A vector containing the ids of the neighbours

Implementors§