Ok

merkle.Result.Ok
case class Ok[+A](value: A) extends Result[A]

Attributes

Graph
Supertypes
trait Result[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def flatMap[B](f: A => Result[B]): Result[B]

Attributes

Inherited from:
Result
def fold[B](ok: A => B, err: Err => B): B

Attributes

Inherited from:
Result
def getOrThrow(): A

Attributes

Inherited from:
Result
def isErr: Boolean

Attributes

Inherited from:
Result
def map[B](f: A => B): Result[B]

Attributes

Inherited from:
Result

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def toEither: Either[Err, A]

Attributes

Inherited from:
Result
def toOption: Option[A]

Attributes

Inherited from:
Result