Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.Clock.nanoTime
    
    object MyTest extends ZIOSpecDefault {
      def spec = suite("clock")(
        test("time is non-zero") {
          for {
            time <- Live.live(nanoTime)
          } yield assertTrue(time >= 0L)
        }
      )
    }
    Definition Classes
    zio
  • package refined
    Definition Classes
    test
  • package types
    Definition Classes
    refined
  • AllTypesInstances
  • CharInstances
  • DigitInstances
  • NetInstances
  • NumericInstances
  • StringInstance
  • TimeInstances
  • all
  • char
  • digit
  • net
  • numeric
  • string
  • time

object net extends NetInstances

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. net
  2. NetInstances
  3. AnyRef
  4. 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()
  6. implicit val dynamicPortNumberDeriveGen: DeriveGen[DynamicPortNumber]
    Definition Classes
    NetInstances
  7. val dynamicPortNumberGen: Gen[Any, DynamicPortNumber]
    Definition Classes
    NetInstances
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. implicit val nonSystemPortNumberDeriveGen: DeriveGen[NonSystemPortNumber]
    Definition Classes
    NetInstances
  15. val nonSystemPortNumberGen: Gen[Any, NonSystemPortNumber]
    Definition Classes
    NetInstances
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. implicit val portNumberDeriveGen: DeriveGen[PortNumber]
    Definition Classes
    NetInstances
  19. val portNumberGen: Gen[Any, PortNumber]
    Definition Classes
    NetInstances
  20. implicit val privateNetworkDeriveGen: DeriveGen[PrivateNetwork]
    Definition Classes
    NetInstances
  21. val privateNetworkGen: Gen[Any, PrivateNetwork]
    Definition Classes
    NetInstances
  22. implicit val rfc1918ClassAPrivateDeriveGen: DeriveGen[Rfc1918ClassAPrivate]
    Definition Classes
    NetInstances
  23. val rfc1918ClassAPrivateGen: Gen[Any, Rfc1918ClassAPrivate]
    Definition Classes
    NetInstances
  24. implicit val rfc1918ClassBPrivateDeriveGen: DeriveGen[Rfc1918ClassBPrivate]
    Definition Classes
    NetInstances
  25. val rfc1918ClassBPrivateGen: Gen[Any, Rfc1918ClassBPrivate]
    Definition Classes
    NetInstances
  26. implicit val rfc1918ClassCPrivateDeriveGen: DeriveGen[Rfc1918ClassCPrivate]
    Definition Classes
    NetInstances
  27. val rfc1918ClassCPrivateGen: Gen[Any, Rfc1918ClassCPrivate]
    Definition Classes
    NetInstances
  28. implicit val rfc1918PrivateDeriveGen: DeriveGen[Rfc1918Private]
    Definition Classes
    NetInstances
  29. val rfc1918PrivateGen: Gen[Any, Rfc1918Private]
    Definition Classes
    NetInstances
  30. implicit val rfc2544BenchmarkDeriveGen: DeriveGen[Rfc2544Benchmark]
    Definition Classes
    NetInstances
  31. val rfc2544BenchmarkGen: Gen[Any, Rfc2544Benchmark]
    Definition Classes
    NetInstances
  32. implicit val rfc3927LocalLinkDeriveGen: DeriveGen[Rfc3927LocalLink]
    Definition Classes
    NetInstances
  33. val rfc3927LocalLinkGen: Gen[Any, Rfc3927LocalLink]
    Definition Classes
    NetInstances
  34. implicit val rfc5737Testnet1DeriveGen: DeriveGen[Rfc5737Testnet1]
    Definition Classes
    NetInstances
  35. val rfc5737Testnet1Gen: Gen[Any, Rfc5737Testnet1]
    Definition Classes
    NetInstances
  36. implicit val rfc5737Testnet2DeriveGen: DeriveGen[Rfc5737Testnet2]
    Definition Classes
    NetInstances
  37. val rfc5737Testnet2Gen: Gen[Any, Rfc5737Testnet2]
    Definition Classes
    NetInstances
  38. implicit val rfc5737Testnet3DeriveGen: DeriveGen[Rfc5737Testnet3]
    Definition Classes
    NetInstances
  39. val rfc5737Testnet3Gen: Gen[Any, Rfc5737Testnet3]
    Definition Classes
    NetInstances
  40. implicit val rfc5737TestnetDeriveGen: DeriveGen[Rfc5737Testnet]
    Definition Classes
    NetInstances
  41. val rfc5737TestnetGen: Gen[Any, Rfc5737Testnet]
    Definition Classes
    NetInstances
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. implicit val systemPortNumberDeriveGen: DeriveGen[SystemPortNumber]
    Definition Classes
    NetInstances
  44. val systemPortNumberGen: Gen[Any, SystemPortNumber]
    Definition Classes
    NetInstances
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. implicit val userPortNumberDeriveGen: DeriveGen[UserPortNumber]
    Definition Classes
    NetInstances
  47. val userPortNumberGen: Gen[Any, UserPortNumber]
    Definition Classes
    NetInstances
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

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

    (Since version 9)

Inherited from NetInstances

Inherited from AnyRef

Inherited from Any

Ungrouped