NamedDecoder

dev.hnaderi.namedcodec.NamedDecoder
trait NamedDecoder[A, R]

Attributes

Source
NamedCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait NamedCodec[A, R]
Self type
NamedDecoder[A, R]

Members list

Value members

Abstract methods

def canDecode(msg: String): Boolean

Attributes

Source
NamedCodec.scala
def decode(msg: EncodedMessage[R]): Either[String, A]

Attributes

Source
NamedCodec.scala

Concrete methods

final def map[B](f: A => B): NamedDecoder[B, R]

Attributes

Source
NamedCodec.scala