PotOption

object PotOption
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Error(t: Throwable) extends PotOption[Nothing]
case object Pending extends PotOption[Nothing]
case object ReadyNone extends PotOption[Nothing]
final case class ReadySome[+A](value: A) extends PotOption[A]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply[A](a: A): PotOption[A]
def error[A](t: Throwable): PotOption[A]
def errorPrism[A]: Prism[PotOption[A], Throwable]
def fromOption[A](opt: Option[A]): PotOption[A]
def fromOptionTry[A](optTry: Option[Try[A]]): PotOption[A]
def fromPot[A](pot: Pot[A]): PotOption[A]
def fromTry[A](tr: Try[A]): PotOption[A]
def fromTryOption[A](trOpt: Try[Option[A]]): PotOption[A]
def pending[A]: PotOption[A]
def readyNone[A]: PotOption[A]
def readySomePrism[A]: Prism[PotOption[A], A]