Decoder

ldbc.dsl.codec.Decoder
See theDecoder companion trait
object Decoder extends TwiddleSyntax[Decoder]

Attributes

Companion
trait
Source
Decoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder.type

Members list

Type members

Classlikes

case class Error(offset: Int, message: String, cause: Option[Throwable])

An error indicating that decoding a value starting at column offset and spanning length columns failed with reason error.

An error indicating that decoding a value starting at column offset and spanning length columns failed with reason error.

Attributes

Companion
object
Source
Decoder.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Error

Attributes

Companion
class
Source
Decoder.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Error.type

Attributes

Source
Decoder.scala
Supertypes
trait Apply[Decoder]
trait Functor[Decoder]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Value members

Concrete methods

def apply[A](using decoder: Decoder[A]): Decoder[A]

Attributes

Source
Decoder.scala
def derived[P <: Product](using mirror: ProductOf[P], decoder: Decoder[mirror.MirroredElemTypes]): Decoder[P]

Attributes

Source
Decoder.scala
inline def derivedEnum[E <: Enum](using mirror: SumOf[E]): Decoder[E]

Attributes

Source
Decoder.scala

Givens

Givens

given given_Decoder_*:[H, T <: Tuple](using dh: Decoder[H], dt: Decoder[T]): Decoder[H *: T]

Attributes

Source
Decoder.scala
given given_Decoder_A[A](using codec: Codec[A]): Decoder[A]

Attributes

Source
Decoder.scala
given given_Decoder_A_B[A, B](using da: Decoder[A], db: Decoder[B]): Decoder[(A, B)]

Attributes

Source
Decoder.scala
given given_Decoder_NT[NT](using m: ProductOf[NT], decoder: Decoder[m.MirroredElemTypes]): Decoder[NT]

Attributes

Source
Decoder.scala
given given_Decoder_Option[A](using decoder: Decoder[A]): Decoder[Option[A]]

Attributes

Source
Decoder.scala

Extensions

Inherited extensions

extension [A <: Tuple](fa: Decoder[A])
inline def dropUnits(using Invariant[Decoder]): Decoder[DropUnits[A]]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala

Implicits

Inherited implicits

implicit def toTwiddleOpCons[B <: Tuple](fb: Decoder[B]): TwiddleOpCons[Decoder, B]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala
implicit def toTwiddleOpTo[A](fa: Decoder[A]): TwiddleOpTo[Decoder, A]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala
implicit def toTwiddleOpTwo[B](fb: Decoder[B]): TwiddleOpTwo[Decoder, B]

Attributes

Inherited from:
TwiddleSyntax
Source
Twiddles.scala