ChannelCodec

lepus.std.ChannelCodec
See theChannelCodec companion object
trait ChannelCodec[T]

ChannelCodec is the interface for encoding/decoding operations for messages that can fail on both ways.

Note that this is not a typeclass and it is not used in implicit scope and there are no instances of it.

Attributes

Companion:
object
Source:
ChannelCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

Concrete methods

final def encode(payload: T): Either[Throwable, MessageRaw]

Attributes

Source:
ChannelCodec.scala