Structs§
- Addr
Unspec - Addr
Unspec Port - BusEvent
Close - BusEvent
Exit - BusEvent
Fault - BusHandles
- Cidr
Unspec - Dirent
- A directory entry.
- Event
- An event that occurred.
- Event
FdReadwrite - The contents of an
event
for theeventtype::fd_read
andeventtype::fd_write
variants - Eventrwflags
- The state of the file descriptor subscribed to with
eventtype::fd_read
oreventtype::fd_write
. - Fdflags
- File descriptor flags.
- Fdstat
- File descriptor attributes.
- Filestat
- Fstflags
- Which file time attributes to adjust. TODO: wit appears to not have support for flags repr (@witx repr u16)
- Http
Handles - Http
Status - Lookup
- Flags determining the method of how paths are resolved. TODO: wit appears to not have support for flags repr (@witx repr u32)
- Oflags
- Open flags used by
path_open
. TODO: wit appears to not have support for flags repr (@witx repr u16) - Option
Bid - Option
Cid - Option
Fd - Option
Timestamp - Pipe
Handles - Prestat
- PrestatU
- PrestatU
Dir - Rights
- File descriptor rights, determining which actions may be performed.
- Snapshot0
Dirent - A directory entry, snapshot0 version.
- Snapshot0
Event - An event that occurred.
- Snapshot0
Filestat - Snapshot0
Subscription - Snapshot0
Subscription Clock - The contents of a
subscription
when type iseventtype::clock
. - Subclockflags
- Flags determining how to interpret the timestamp provided in
subscription-clock::timeout
. - Subscription
- Subscription
Clock - The contents of a
subscription
when type iseventtype::clock
. - Subscription
FsReadwrite - The contents of a
subscription
when the variant iseventtype::fd_read
oreventtype::fd_write
. - Tty
Enums§
- Addressfamily
- Advice
- File or memory access pattern advisory information.
- Bool
- BusData
Format - BusErrno
- BusEvent
Type - Clockid
- Identifiers for clocks.
- Errno
- 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.
- Event
Enum - The contents of an
event
. - Eventtype
- Type of a subscription to an event or its occurrence.
- Filetype
- The type of a file descriptor or file.
- Option
Tag - __wasi_option_t
- Preopentype
- Identifiers for preopened capabilities.
- Prestat
Enum - Signal
- Snapshot0
Clockid - Identifiers for clocks, snapshot0 version.
- Snapshot0
Subscription Enum - The contents of a
subscription
, snapshot0 version. - Snapshot0
Whence - Sock
Proto - Sockoption
- Sockstatus
- Socktype
- Stdio
Mode - Streamsecurity
- Subscription
Enum - The contents of a
subscription
. - Timeout
- Whence
Type Aliases§
- Bid
- Cid
- Count
- Device
- 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. - Dircookie
- A reference to the offset of a directory entry.
- Dirnamlen
- The type for the
dirent::d-namlen
field ofdirent
struct. - Event
FdFlags - Exit
Code - Fd
- A file descriptor handle.
- File
Delta - Filesize
- Non-negative file size or length of a region within a file.
- Inode
- File serial number that is unique within its file system.
- Linkcount
- Lookup
Flags - Pid
- RiFlags
- RoFlags
- SdFlags
- SiFlags
- Size
- Type names used by low-level WASI interfaces. An array size.
- Snapshot0
Linkcount - Tid
- Timestamp
- Timestamp in nanoseconds.
- Userdata
- User-provided value that may be attached to objects that is retained when extracted from the implementation.