Trait esp_idf_svc::wifi::NonBlocking
source · pub trait NonBlocking {
// Required methods
fn is_scan_done(&self) -> Result<bool, EspError>;
fn start_scan(
&mut self,
scan_config: &ScanConfig,
blocking: bool,
) -> Result<(), EspError>;
fn stop_scan(&mut self) -> Result<(), EspError>;
fn get_scan_result_n<const N: usize>(
&mut self,
) -> Result<(Vec<AccessPointInfo, N>, usize), EspError>;
fn get_scan_result(&mut self) -> Result<Vec<AccessPointInfo>, EspError>;
fn start_wps(&mut self, config: &WpsConfig<'_>) -> Result<(), EspError>;
fn stop_wps(&mut self) -> Result<WpsStatus, EspError>;
fn is_wps_finished(&self) -> Result<bool, EspError>;
}
Required Methods§
fn is_scan_done(&self) -> Result<bool, EspError>
fn start_scan( &mut self, scan_config: &ScanConfig, blocking: bool, ) -> Result<(), EspError>
fn stop_scan(&mut self) -> Result<(), EspError>
fn get_scan_result_n<const N: usize>( &mut self, ) -> Result<(Vec<AccessPointInfo, N>, usize), EspError>
fn get_scan_result(&mut self) -> Result<Vec<AccessPointInfo>, EspError>
fn start_wps(&mut self, config: &WpsConfig<'_>) -> Result<(), EspError>
fn stop_wps(&mut self) -> Result<WpsStatus, EspError>
fn is_wps_finished(&self) -> Result<bool, EspError>
Object Safety§
This trait is not object safe.