Packages

  • package root
    Definition Classes
    root
  • package swam
    Definition Classes
    root
  • package runtime

    This package contains all the classes and types related to running WebAssembly modules.

    This package contains all the classes and types related to running WebAssembly modules.

    The entry point for almost all users will be Engine. A typical use of the engine is:

    import swam._
    import text._
    import runtime._
    import exports._
    
    import cats.implicits._
    import cats.effect._
    
    import java.nio.file.Paths
    
    val tcompiler = Compiler[IO]
    val engine = Engine[IO]
    
    for {
      tcompiler <- tcompiler
      engine <- engine
      mod <- engine.compile(/* source of the module */)
      inst <- mod.newInstance()
      f <- inst.exports.function1[Int, Int]("f")
      res <- f(43)
    } yield res
    
    println(res.unsafeRunSync())
    Definition Classes
    swam
  • package wasi
    Definition Classes
    runtime
  • Advice
  • Clockid
  • Errno
  • FdFlags
  • Filetype
  • Fstflags
  • LongFlagsOps
  • Lookupflags
  • Oflags
  • Riflags
  • Rights
  • Roflags
  • Sdflags
  • ShortFlagsOps
  • Signal
  • Wasi
  • WasiException
  • Whence

object Errno extends ShortEnum[Errno]

Source
types.scala
Linear Supertypes
ShortEnum[Errno], ValueEnum[Short, Errno], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Errno
  2. ShortEnum
  3. ValueEnum
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final macro def findValues: IndexedSeq[Errno]
    Attributes
    protected
    Definition Classes
    ShortEnum
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. def values: IndexedSeq[Errno]
    Definition Classes
    Errno → ValueEnum
  18. final lazy val valuesToEntriesMap: Map[Short, Errno]
    Definition Classes
    ValueEnum
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. def withValue(i: Short): Errno
    Definition Classes
    ValueEnum
    Annotations
    @SuppressWarnings()
  23. def withValueEither(i: Short): Either[NoSuchMember[Short, ValueEnumEntry[Short]], Errno]
    Definition Classes
    ValueEnum
  24. def withValueOpt(i: Short): Option[Errno]
    Definition Classes
    ValueEnum
  25. implicit def writer[F[_]](implicit F: MonadError[F, Throwable]): SimpleValueWriter[F, Errno]
  26. case object Acces extends Errno with Product with Serializable

    Permission denied.

  27. case object Addrinuse extends Errno with Product with Serializable

    Address in use.

  28. case object Addrnotavail extends Errno with Product with Serializable

    Address not available.

  29. case object Afnosupport extends Errno with Product with Serializable

    Address family not supported.

  30. case object Again extends Errno with Product with Serializable

    Resource unavailable, or operation would block.

  31. case object Already extends Errno with Product with Serializable

    Connection already in progress.

  32. case object Badf extends Errno with Product with Serializable

    Bad file descriptor.

  33. case object Badmsg extends Errno with Product with Serializable

    Bad message.

  34. case object Busy extends Errno with Product with Serializable

    Device or resource busy.

  35. case object Canceled extends Errno with Product with Serializable

    Operation canceled.

  36. case object Child extends Errno with Product with Serializable

    No child processes.

  37. case object Connaborted extends Errno with Product with Serializable

    Connection aborted.

  38. case object Connrefused extends Errno with Product with Serializable

    Connection refused.

  39. case object Connreset extends Errno with Product with Serializable

    Connection reset.

  40. case object Deadlk extends Errno with Product with Serializable

    Resource deadlock would occur.

  41. case object Destaddrreq extends Errno with Product with Serializable

    Destination address required.

  42. case object Dom extends Errno with Product with Serializable

    Mathematics argument out of domain of function.

  43. case object Dquot extends Errno with Product with Serializable

    Reserved.

  44. case object Exist extends Errno with Product with Serializable

    File exists.

  45. case object Fault extends Errno with Product with Serializable

    Bad address.

  46. case object Fbig extends Errno with Product with Serializable

    File too large.

  47. case object Hostunreach extends Errno with Product with Serializable

    Host is unreachable.

  48. case object Idrm extends Errno with Product with Serializable

    Identifier removed.

  49. case object Ilseq extends Errno with Product with Serializable

    Illegal byte sequence.

  50. case object Inprogress extends Errno with Product with Serializable

    Operation in progress.

  51. case object Intr extends Errno with Product with Serializable

    Interrupted function.

  52. case object Inval extends Errno with Product with Serializable

    Invalid argument.

  53. case object Io extends Errno with Product with Serializable

    I/O error.

  54. case object Isconn extends Errno with Product with Serializable

    Socket is connected.

  55. case object Isdir extends Errno with Product with Serializable

    Is a directory.

  56. case object Loop extends Errno with Product with Serializable

    Too many levels of symbolic links.

  57. case object Mfile extends Errno with Product with Serializable

    File descriptor value too large.

  58. case object Mlink extends Errno with Product with Serializable

    Too many links.

  59. case object Msgsize extends Errno with Product with Serializable

    Message too large.

  60. case object Multihop extends Errno with Product with Serializable

    Reserved.

  61. case object Nametoolong extends Errno with Product with Serializable

    Filename too long.

  62. case object Netdown extends Errno with Product with Serializable

    Network is down.

  63. case object Netreset extends Errno with Product with Serializable

    Connection aborted by network.

  64. case object Netunreach extends Errno with Product with Serializable

    Network unreachable.

  65. case object Nfile extends Errno with Product with Serializable

    Too many files open in system.

  66. case object Nobufs extends Errno with Product with Serializable

    No buffer space available.

  67. case object Nodev extends Errno with Product with Serializable

    No such device.

  68. case object Noent extends Errno with Product with Serializable

    No such file or directory.

  69. case object Noexec extends Errno with Product with Serializable

    Executable file format error.

  70. case object Nolck extends Errno with Product with Serializable

    No locks available.

  71. case object Nolink extends Errno with Product with Serializable

    Reserved.

  72. case object Nomem extends Errno with Product with Serializable

    Not enough space.

  73. case object Nomsg extends Errno with Product with Serializable

    No message of the desired type.

  74. case object Noprotoopt extends Errno with Product with Serializable

    Protocol not available.

  75. case object Nospc extends Errno with Product with Serializable

    No space left on device.

  76. case object Nosys extends Errno with Product with Serializable

    Function not supported.

  77. case object Notcapable extends Errno with Product with Serializable

    Extension: Capabilities insufficient.

  78. case object Notconn extends Errno with Product with Serializable

    The socket is not connected.

  79. case object Notdir extends Errno with Product with Serializable

    Not a directory or a symbolic link to a directory.

  80. case object Notempty extends Errno with Product with Serializable

    Directory not empty.

  81. case object Notrecoverable extends Errno with Product with Serializable

    State not recoverable.

  82. case object Notsock extends Errno with Product with Serializable

    Not a socket.

  83. case object Notsup extends Errno with Product with Serializable

    Not supported, or operation not supported on socket.

  84. case object Notty extends Errno with Product with Serializable

    Inappropriate I/O control operation.

  85. case object Nxio extends Errno with Product with Serializable

    No such device or address.

  86. case object Overflow extends Errno with Product with Serializable

    Value too large to be stored in data type.

  87. case object Ownerdead extends Errno with Product with Serializable

    Previous owner died.

  88. case object Perm extends Errno with Product with Serializable

    Operation not permitted.

  89. case object Pipe extends Errno with Product with Serializable

    Broken pipe.

  90. case object Proto extends Errno with Product with Serializable

    Protocol error.

  91. case object Protonosupport extends Errno with Product with Serializable

    Protocol not supported.

  92. case object Prototype extends Errno with Product with Serializable

    Protocol wrong type for socket.

  93. case object Range extends Errno with Product with Serializable

    Result too large.

  94. case object Rofs extends Errno with Product with Serializable

    Read-only file system.

  95. case object Spipe extends Errno with Product with Serializable

    Invalid seek.

  96. case object Srch extends Errno with Product with Serializable

    No such process.

  97. case object Stale extends Errno with Product with Serializable

    Reserved.

  98. case object Success extends Errno with Product with Serializable

    No error occurred.

    No error occurred. System call completed successfully.

  99. case object Timedout extends Errno with Product with Serializable

    Connection timed out.

  100. case object Toobig extends Errno with Product with Serializable

    Argument list too long.

  101. case object Txtbsy extends Errno with Product with Serializable

    Text file busy.

  102. case object Xdev extends Errno with Product with Serializable

    Cross-device link.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ShortEnum[Errno]

Inherited from ValueEnum[Short, Errno]

Inherited from AnyRef

Inherited from Any

Ungrouped