You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: events.rs
    path of file: ./repos/CYFS/src/tests/cyfs-stack-test/src/case
    
    the code of the file until where you have to start completion: use cyfs_base::*;
use cyfs_lib::*;
use zone_simulator::*;
use cyfs_util::*;

use once_cell::sync::OnceCell;
use std::sync::Arc;

#[derive(Clone)]
struct OnTestEvent {
    stack: St
    
async fn emit_event() {
    // 触发一个测试事件
    let stack = TestLoader::get_stack(DeviceIndex::User1OOD);

    let mut emitter = stack.router_events().events().test_event().emitter();

    let param = TestEventRequest {};
    let resp = emitter.emit(param).await;
    info!("test event resp: {}", resp);
    assert_eq!(resp.handled, true);
}