DiscoveryStrategyImpl

Trait DiscoveryStrategyImpl 

Source
pub trait DiscoveryStrategyImpl: Send + Sync {
    // Required methods
    fn discover(&self) -> DeviceResult<Vec<ProviderInfo>>;
    fn name(&self) -> &str;
    fn is_available(&self) -> bool;
}
Expand description

Discovery strategy implementation trait

Required Methods§

Source

fn discover(&self) -> DeviceResult<Vec<ProviderInfo>>

Execute discovery

Source

fn name(&self) -> &str

Get strategy name

Source

fn is_available(&self) -> bool

Check if strategy is available

Implementors§