Skip to main content

CentralControllerProxyInterface

Trait CentralControllerProxyInterface 

Source
pub trait CentralControllerProxyInterface: Send + Sync {
    type StartScanResponseFut: Future<Output = Result<CentralControllerStartScanResult, Error>> + Send;
    type ConnectPeripheralResponseFut: Future<Output = Result<CentralControllerConnectPeripheralResult, Error>> + Send;

    // Required methods
    fn start_scan(
        &self,
        payload: CentralControllerStartScanRequest,
    ) -> Self::StartScanResponseFut;
    fn connect_peripheral(
        &self,
        payload: &PeerSelector,
    ) -> Self::ConnectPeripheralResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§