sealed abstract class Result[+A] extends Product with Serializable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(fn: (A) => Boolean): Boolean
- def filter(fn: (A) => Boolean): Result[A]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[B](fn: (A) => Result[B]): Result[B]
- def fold[B](onValue: (A) => B, onError: (Diagnostic) => B): B
- def foreach[B](fn: (A) => B): Unit
- def get: A
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[B >: A](other: => B): B
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isError: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isValue: Boolean
- def iterator(): Iterator[A]
- def map[B](fn: (A) => B): Result[B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[B >: A](other: => Result[B]): Result[B]
- def product[B](other: Result[B]): Result[(A, B)]
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toEither: Either[Diagnostic, A]
- def toList: List[A]
- def toOption: Option[A]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def upcast: Result[A]
Use this method to upcast this type from
ErrorResultorValueResultintoResult[A]Use this method to upcast this type from
ErrorResultorValueResultintoResult[A]- returns
this instance unchanged, this method is only used to influence type checking.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFilter(fn: (A) => Boolean): Result[A]