ConnectionSelectorApi

Trait ConnectionSelectorApi 

Source
pub trait ConnectionSelectorApi {
    // 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>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn find_and_select_roam_candidate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        scan_type: ScanType,
        network: NetworkIdentifier,
        credential: &'life1 Credential,
        current_security: SecurityTypeDetailed,
    ) -> Pin<Box<dyn Future<Output = Option<ScannedCandidate>> + '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>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

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

Implementors§