ZIOConstructor

zio.ZIO.ZIOConstructor
See theZIOConstructor companion trait

Attributes

Companion
trait
Source
ZIO.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

type WithOut[Environment, Error, In, OutEnvironment0, OutError0, OutSuccess0] = ZIOConstructor[Environment, Error, In] { type OutEnvironment = OutEnvironment0; type OutError = OutError0; type OutSuccess = OutSuccess0; }

The type of the ZIOConstructor with the type of the ZIO value.

The type of the ZIOConstructor with the type of the ZIO value.

Attributes

Inherited from:
ZIOConstructorLowPriority3
Source
ZIO.scala

Implicits

Implicits

implicit def EitherCauseConstructor[E, A]: WithOut[Any, E, Either[Cause[E], A], Any, E, A]

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Attributes

Source
ZIO.scala
implicit def EitherCauseLeftConstructor[E, A]: WithOut[Any, E, Left[Cause[E], A], Any, E, A]

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Attributes

Source
ZIO.scala
implicit def EitherCauseRightConstructor[E, A]: WithOut[Any, E, Right[Cause[E], A], Any, E, A]

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Constructs a ZIO[Any, E, A] from an Either[Cause[E], A].

Attributes

Source
ZIO.scala
implicit def FiberConstructor[E, A]: WithOut[Any, E, Fiber[E, A], Any, E, A]

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Attributes

Source
ZIO.scala
implicit def FiberRuntimeConstructor[E, A]: WithOut[Any, E, Runtime[E, A], Any, E, A]

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Attributes

Source
ZIO.scala
implicit def FiberSyntheticConstructor[E, A]: WithOut[Any, E, Synthetic[E, A], Any, E, A]

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Constructs a ZIO[Any, E, A] from a Fiber[E, A].

Attributes

Source
ZIO.scala
implicit def FiberZIOConstructor[R, E1 <: E3, E2 <: E3, E3, A]: WithOut[R, E3, ZIO[R, E1, Fiber[E2, A]], R, E3, A]

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Attributes

Source
ZIO.scala
implicit def FiberZIORuntimeConstructor[R, E1 <: E3, E2 <: E3, E3, A]: WithOut[R, E3, ZIO[R, E1, Runtime[E2, A]], R, E3, A]

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Attributes

Source
ZIO.scala
implicit def FiberZIOSyntheticConstructor[R, E1 <: E3, E2 <: E3, E3, A]: WithOut[R, E3, ZIO[R, E1, Synthetic[E2, A]], R, E3, A]

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Constructs a ZIO[R, E, A] from a ZIO[R, E, Fiber[E, A]].

Attributes

Source
ZIO.scala
implicit def FutureConstructor[A, FutureLike <: (Future)]: WithOut[Any, Throwable, FutureLike[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a Future[A].

Constructs a ZIO[Any, Throwable, A] from a Future[A].

Attributes

Source
ZIO.scala
implicit def FutureExecutionContextConstructor[A, FutureLike <: (Future)]: WithOut[Any, Throwable, ExecutionContext => FutureLike[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a function ExecutionContext \=> Future[A].

Constructs a ZIO[Any, Throwable, A] from a function ExecutionContext \=> Future[A].

Attributes

Source
ZIO.scala
implicit def OptionConstructor[A]: WithOut[Any, Option[Nothing], Option[A], Any, Option[Nothing], A]

Constructs a ZIO[Any, Option[Nothing], A] from an Option[A].

Constructs a ZIO[Any, Option[Nothing], A] from an Option[A].

Attributes

Source
ZIO.scala
implicit val OptionNoneConstructor: WithOut[Any, Option[Nothing], None.type, Any, Option[Nothing], Nothing]

Constructs a ZIO[Any, Option[Nothing], Nothing] from a None.

Constructs a ZIO[Any, Option[Nothing], Nothing] from a None.

Attributes

Source
ZIO.scala
implicit def OptionSomeConstructor[A]: WithOut[Any, Option[Nothing], Some[A], Any, Option[Nothing], A]

Constructs a ZIO[Any, Option[Nothing], A] from a Some[A].

Constructs a ZIO[Any, Option[Nothing], A] from a Some[A].

Attributes

Source
ZIO.scala
implicit def PromiseScalaConstructor[A, PromiseLike <: (Promise)]: WithOut[Any, Throwable, PromiseLike[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a Promise[A]

Constructs a ZIO[Any, Throwable, A] from a Promise[A]

Attributes

Source
ZIO.scala
implicit def TryConstructor[A]: WithOut[Any, Throwable, Try[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a Try[A].

Constructs a ZIO[Any, Throwable, A] from a Try[A].

Attributes

Source
ZIO.scala
implicit def TryFailureConstructor[A]: WithOut[Any, Throwable, Failure[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a Failure[A].

Constructs a ZIO[Any, Throwable, A] from a Failure[A].

Attributes

Source
ZIO.scala
implicit def TrySuccessConstructor[A]: WithOut[Any, Throwable, Success[A], Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from a Success[A].

Constructs a ZIO[Any, Throwable, A] from a Success[A].

Attributes

Source
ZIO.scala

Inherited implicits

implicit def AttemptConstructor[A]: WithOut[Any, Throwable, A, Any, Throwable, A]

Constructs a ZIO[Any, Throwable, A] from an A.

Constructs a ZIO[Any, Throwable, A] from an A.

Attributes

Inherited from:
ZIOConstructorLowPriority2
Source
ZIO.scala
implicit def EitherConstructor[E, A]: WithOut[Any, E, Either[E, A], Any, E, A]

Constructs a ZIO[Any, E, A] from an Either[E, A].

Constructs a ZIO[Any, E, A] from an Either[E, A].

Attributes

Inherited from:
ZIOConstructorLowPriority1
Source
ZIO.scala
implicit def EitherLeftConstructor[E, A]: WithOut[Any, E, Left[E, A], Any, E, A]

Constructs a ZIO[Any, E, A]] from an Either[E, A].

Constructs a ZIO[Any, E, A]] from an Either[E, A].

Attributes

Inherited from:
ZIOConstructorLowPriority1
Source
ZIO.scala
implicit def EitherRightConstructor[E, A]: WithOut[Any, E, Right[E, A], Any, E, A]

Constructs a ZIO[Any, E, A] from an Either[E, A].

Constructs a ZIO[Any, E, A] from an Either[E, A].

Attributes

Inherited from:
ZIOConstructorLowPriority1
Source
ZIO.scala
implicit def SucceedConstructor[A]: WithOut[Any, Nothing, A, Any, Nothing, A]

Constructs a ZIO[Any, Throwable, A] from an A.

Constructs a ZIO[Any, Throwable, A] from an A.

Attributes

Inherited from:
ZIOConstructorLowPriority3
Source
ZIO.scala