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 PartialFunction[A, Unit]
trait A => Unit
class Object
trait Matchable
class Any
Show all

Members list

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

def andThen[C](k: PartialFunction[Unit, C]): PartialFunction[A, C]

Attributes

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

Attributes

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

Attributes

Inherited from:
PartialFunction
def compose[R](k: PartialFunction[R, A]): PartialFunction[R, B]

Attributes

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

Attributes

Inherited from:
Function1
def elementWise: ElementWiseExtractor[A, B]

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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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