[][src]Trait toio::ble::SearchOps

pub trait SearchOps {
#[must_use]    fn search<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        uuid: &'life1 Uuid,
        timeout: Duration
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Peripheral>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

The interface for platform-specific BLE searcher.

Required methods

#[must_use]fn search<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    uuid: &'life1 Uuid,
    timeout: Duration
) -> Pin<Box<dyn Future<Output = Result<Vec<Peripheral>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Search for peripherals.

Loading content...

Implementors

Loading content...