pub struct RpcReqWifiScanStart {
pub config: ScanConfig,
pub block: bool,
pub config_set: i32,
}
Fields§
§config: ScanConfig
§block: bool
true → RPC blocks until scan complete; false → returns immediately and you wait for WIFI_SCAN_DONE then pull the list.
config_set: i32
Bit-mask telling the firmware how much of config you’re sending. 1 means “use everything in config once”. Leave 0 if you previously uploaded a config and just want to trigger another scan.
Implementations§
Trait Implementations§
Source§impl Default for RpcReqWifiScanStart
impl Default for RpcReqWifiScanStart
Source§fn default() -> RpcReqWifiScanStart
fn default() -> RpcReqWifiScanStart
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RpcReqWifiScanStart
impl RefUnwindSafe for RpcReqWifiScanStart
impl Send for RpcReqWifiScanStart
impl Sync for RpcReqWifiScanStart
impl Unpin for RpcReqWifiScanStart
impl UnwindSafe for RpcReqWifiScanStart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more