// The unused _exec parameter ensures that an executor exists for the lifetime of the SME.
// Our internal timer implementation relies on the existence of a local executor.
The unused _exec parameter ensures that an executor exists for the lifetime of the SME.
Our internal timer implementation relies on the existence of a local executor.
The unused _exec parameter ensures that an executor exists for the lifetime of the SME . Our internal timer implementation relies on the existence of a local executor .
fn create_sme(_exec: &fasync::TestExecutor) -> (ClientSme, MlmeStream, TimeStream) {
        let inspector = finspect::Inspector::new();
        let sme_root_node = inspector.root().create_child("sme");
        let (persistence_req_sender, _persistence_receiver) =
            test_utils::create_inspect_persistence_channel();
        ClientSme::new(
            ClientConfig::default(),
            test_utils::fake_device_info(CLIENT_ADDR),
            Arc::new(wlan_inspect::iface_mgr::IfaceTreeHolder::new(sme_root_node)),
            WlanHasher::new(DUMMY_HASH_KEY),
            persistence_req_sender,
            true, // is_softmac
        )
    }
fn create_sme ( _exec : & fasync :: TestExecutor ) -> ( ClientSme , MlmeStream , TimeStream ) { let inspector = finspect :: Inspector :: new ( ) ; let sme_root_node = inspector . root ( ) . create_child ( " " ) ; let ( persistence_req_sender , _persistence_receiver ) = test_utils :: create_inspect_persistence_channel ( ) ; ClientSme :: new ( ClientConfig :: default ( ) , test_utils :: fake_device_info ( CLIENT_ADDR ) , Arc :: new ( wlan_inspect :: iface_mgr :: IfaceTreeHolder :: new ( sme_root_node ) ) , WlanHasher :: new ( DUMMY_HASH_KEY ) , persistence_req_sender , true , // is_softmac ) }
The unused _exec parameter ensures that an executor exists for the lifetime of the SME.
The unused _exec parameter ensures that an executor exists for the lifetime of the SME .
_exec
&fasync::TestExecutor