Function wasmtime_wasi::sync::file::get_fd_flags
source · [−]pub fn get_fd_flags<Filelike>(f: Filelike) -> Result<FdFlags, Error> where
Filelike: AsFilelike,
Expand description
Return the file-descriptor flags for a given file-like object.
This returns the flags needed to implement WasiFile::get_fdflags
.