pub trait ConnectionSelectorApi: Send + Sync {
    // Required methods
    fn find_and_select_connection_candidate<'life0, 'async_trait>(
        &'life0 self,
        network: Option<NetworkIdentifier>,
        reason: ConnectReason
    ) -> Pin<Box<dyn Future<Output = Option<ScannedCandidate>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn find_and_select_roam_candidate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        network: NetworkIdentifier,
        credential: &'life1 Credential
    ) -> Pin<Box<dyn Future<Output = Option<ScannedCandidate>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn find_and_select_connection_candidate<'life0, 'async_trait>( &'life0 self, network: Option<NetworkIdentifier>, reason: ConnectReason ) -> Pin<Box<dyn Future<Output = Option<ScannedCandidate>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn find_and_select_roam_candidate<'life0, 'life1, 'async_trait>( &'life0 self, network: NetworkIdentifier, credential: &'life1 Credential ) -> Pin<Box<dyn Future<Output = Option<ScannedCandidate>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§