@jalcine I mention the first thing because I found the generate_handler! doc in question didn't seem to explicitly explain its return value.
Also, there is a second "Rust Programming Language Community" Discord I would go to if Tauri discord is confused by the question, as this other discord very good at spotting weird issues that can be rephrased to be about general Rust primitive issues rather than specific libraries. Can pass that link on if it helps.