pub type ResourceId = u32;
A ResourceId is an integer value referencing a resource. It could be considered to be the tauri equivalent of a file descriptor in POSIX like operating systems.
ResourceId
file descriptor