How to run in window platform tray

In this way, when I click to close, I don’t find it in the tray.

fn main() -> iced::Result {
    tracing_subscriber::fmt::init();
    let mut set = iced::Settings::default();
   
    set.window.platform_specific.skip_taskbar = true;
    Example::run(set)
}