PortNumber

object PortNumber extends Refined[Int]
trait Refined[Int]
trait RefinedBase[Int]
trait NewtypeBase[Int]
class Object
trait Matchable
class Any

Type members

Inherited types

override opaque type Type
Inherited from:
RefinedBase

Value members

Concrete methods

inline override def invalidReason(a: Int): String
Definition Classes
inline override def predicate(a: Int): Boolean
Definition Classes

Inherited methods

inline def apply(a: Int): Type
Inherited from:
Refined
override def deriving[F[*]](using fa: F[Int]): F[Type]
Definition Classes
Inherited from:
RefinedBase
inline def expectedMessage(expected: String): String
Inherited from:
RefinedBase
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.ToString")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def from(a: Int): Either[String, Type]
Inherited from:
RefinedBase
def unapply(typ: Type): Some[Int]
Inherited from:
RefinedBase
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.Throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def unsafeFrom(a: Int): Type
Inherited from:
RefinedBase

Givens

Inherited givens

given given_RefinedCtor_Type_A: given_RefinedCtor_Type_A
Inherited from:
RefinedBase
given newRefinedCanEqual: CanEqual[Type, Type]
Inherited from:
NewtypeBase
given unwrap: Coercible[Type, A]
Inherited from:
NewtypeBase
given unwrapTC[F[*]]: Coercible[F[Type], F[A]]
Inherited from:
NewtypeBase

Extensions

Inherited extensions

extension [B](typ: Type)
def toValue(using coercibleA2B: Coercible[A, B]): B
Inherited from:
NewtypeBase
extension (typ: Type)
inline override def value: Int
Definition Classes
Inherited from:
RefinedBase