Module wasmer_wasix::journal::effector

source ยท

Modulesยง

Macrosยง

  • bail ๐Ÿ”’
    Return early with an error.

Structsยง

  • Bytes ๐Ÿ”’
    A cheaply cloneable and sliceable chunk of contiguous memory.
  • EpollEventCtl ๐Ÿ”’
  • ExitCode ๐Ÿ”’
  • Fdflags ๐Ÿ”’
    File descriptor flags.
  • Fstflags ๐Ÿ”’
    Which file time attributes to adjust. TODO: wit appears to not have support for flags repr (@witx repr u16)
  • FunctionEnvMut ๐Ÿ”’
    A temporary handle to a FunctionEnv.
  • The journal effector is an adapter that will be removed in a future refactor. Its purpose is to put the code that does mappings from WASM memory through its abstractions into concrete journal objects that can be stored. Instead of this what should be done is that the syscalls themselves can be represented as a strongly typed object that can be passed directly to the journal but in order to do this we require an extensive refactoring of the WASIX syscalls which is not in scope at this time.
  • MutexGuard ๐Ÿ”’
    An RAII implementation of a โ€œscoped lockโ€ of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
  • Oflags ๐Ÿ”’
    Open flags used by path_open. TODO: wit appears to not have support for flags repr (@witx repr u16)
  • Range ๐Ÿ”’
    A (half-open) range bounded inclusively below and exclusively above (start..end).
  • Rights ๐Ÿ”’
    File descriptor rights, determining which actions may be performed.
  • SystemTime ๐Ÿ”’
    A measurement of the system clock, useful for talking to external entities like the file system or other processes.
  • WasmPtr ๐Ÿ”’
    A zero-cost type that represents a pointer to something in Wasm linear memory.
  • __wasi_ciovec_t ๐Ÿ”’

Enumsยง

  • Advice ๐Ÿ”’
    File or memory access pattern advisory information.
  • Cow ๐Ÿ”’
    A clone-on-write smart pointer.
  • EpollCtl ๐Ÿ”’
    Epoll operation.
  • 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.
  • Snapshot0Clockid ๐Ÿ”’
    Identifiers for clocks, snapshot0 version.
  • Whence ๐Ÿ”’

Traitsยง

  • MemorySize ๐Ÿ”’
    Trait for the Memory32 and Memory64 marker types.

Type Aliasesยง

  • Fd ๐Ÿ”’
    A file descriptor handle.
  • Filesize ๐Ÿ”’
    Non-negative file size or length of a region within a file.
  • LookupFlags ๐Ÿ”’
  • Timestamp ๐Ÿ”’
    Timestamp in nanoseconds.