Specified

zio.http.codec.SimpleCodec$.Specified
final case class Specified[A](value: A) extends SimpleCodec[A, Unit]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SimpleCodec[A, Unit]
trait A => Unit
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(input: A): Unit
def decode(input: A): Either[String, Unit]
def encode(output: Unit): A
def isDefinedAt(input: A): Boolean

Inherited methods

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Unit => C): PartialFunction[A, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
def applyOrElse[A1 <: A, B1 >: Unit](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => A): A => R

Attributes

Inherited from:
Function1

Attributes

Inherited from:
PartialFunction
def lift: A => Option[B]

Attributes

Inherited from:
PartialFunction
def orElse[A1 <: A, B1 >: Unit](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def runWith[U](action: Unit => U): A => Boolean

Attributes

Inherited from:
PartialFunction
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1
def unapply(a: A): Option[B]

Attributes

Inherited from:
PartialFunction