Module wasmer_wasi_types::wasi
source · Structs
A directory entry.
An event that occurred.
The contents of an
event
for the eventtype::fd_read
and
eventtype::fd_write
variantsThe state of the file descriptor subscribed to with
eventtype::fd_read
or eventtype::fd_write
.File descriptor flags.
File descriptor attributes.
Which file time attributes to adjust.
TODO: wit appears to not have support for flags repr
(@witx repr u16)
Flags determining the method of how paths are resolved.
TODO: wit appears to not have support for flags repr
(@witx repr u32)
Open flags used by
path_open
.
TODO: wit appears to not have support for flags repr
(@witx repr u16)File descriptor rights, determining which actions may be performed.
A directory entry, snapshot0 version.
An event that occurred.
The contents of a
subscription
when type is eventtype::clock
.Flags determining how to interpret the timestamp provided in
subscription-clock::timeout
.The contents of a
subscription
when type is eventtype::clock
.The contents of a
subscription
when the variant is
eventtype::fd_read
or eventtype::fd_write
.Enums
File or memory access pattern advisory information.
Identifiers for clocks.
Error codes returned by functions.
Not all of these error codes are returned by the functions provided by this
API; some are used in higher-level library layers, and others are provided
merely for alignment with POSIX.
The contents of an
event
.Type of a subscription to an event or its occurrence.
The type of a file descriptor or file.
__wasi_option_t
Identifiers for preopened capabilities.
Identifiers for clocks, snapshot0 version.
The contents of a
subscription
, snapshot0 version.The contents of a
subscription
.Type Definitions
Identifier for a device containing a file system. Can be used in combination
with
inode
to uniquely identify a file or directory in the filesystem.A reference to the offset of a directory entry.
The type for the
dirent::d-namlen
field of dirent
struct.A file descriptor handle.
Non-negative file size or length of a region within a file.
File serial number that is unique within its file system.
Type names used by low-level WASI interfaces.
An array size.
Timestamp in nanoseconds.
User-provided value that may be attached to objects that is retained when
extracted from the implementation.