如何在 rust-fuse 中获取 UID 和 GID?

How to get UID and GID in rust-fuse?

我正在使用rust-fuse实现自己的文件系统,需要获取对该文件系统进行操作的用户的UID和GID。 我知道在 C libfuse 中有一个 fuse_context 结构,但我在 rust-fuse 中找不到它。

fuse crate documents the Request struct as having uid and gid 方法的 0.3.0 版。