← ZIO BSON docs

BsonFieldDecoder

zio.bson.BsonFieldDecoder
See theBsonFieldDecoder companion object
trait BsonFieldDecoder[+A]

Attributes

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

Members list

Value members

Abstract methods

def unsafeDecodeField(trace: List[BsonTrace], in: String): A

Attributes

Source
BsonFieldDecoder.scala

Concrete methods

final def map[B](f: A => B): BsonFieldDecoder[B]

Attributes

Source
BsonFieldDecoder.scala
final def mapOrFail[B](f: A => Either[String, B]): BsonFieldDecoder[B]

Attributes

Source
BsonFieldDecoder.scala