Packages

trait EncoderInstances extends AnyRef

Defines implicit Encoder instances for any enumeratum ValueEnum type.

A peculiarity of these Encoder implementations is that they require an implicit parameter that they do not use: the Enum instance. This is meant to make these instances much more restrictive, as otherwise the implicit resolution mechanism goes completely wild and takes up to 20 minutes to compile something relatively straightforward.

Source
ValueEnumInstances.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EncoderInstances
  2. AnyRef
  3. 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. implicit def byteEnumeratumEncoder[E, D <: ByteEnumEntry, T](implicit arg0: ByteEnum[D], encoder: Encoder[E, Byte, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  6. implicit def charEnumeratumEncoder[E, D <: CharEnumEntry, T](implicit arg0: CharEnum[D], encoder: Encoder[E, Char, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def enumeratumEncoder[V, E, D <: ValueEnumEntry[V], T](implicit encoder: Encoder[E, V, T]): Encoder[E, D, T]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. implicit def intEnumeratumEncoder[E, D <: IntEnumEntry, T](implicit arg0: IntEnum[D], encoder: Encoder[E, Int, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. implicit def longEnumeratumEncoder[E, D <: LongEnumEntry, T](implicit arg0: LongEnum[D], encoder: Encoder[E, Long, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. implicit def shortEnumeratumEncoder[E, D <: ShortEnumEntry, T](implicit arg0: ShortEnum[D], encoder: Encoder[E, Short, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  21. implicit def stringEnumeratumEncoder[E, D <: StringEnumEntry, T](implicit arg0: StringEnum[D], encoder: Encoder[E, String, T]): Encoder[E, D, T]
    Annotations
    @nowarn()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped