ZIOConstructor

zio.ZIO.ZIOConstructor
See theZIOConstructor companion trait

Attributes

Companion
trait
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
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
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
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
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