Features

case class Features[T <: Feature](activated: Map[T, FeatureSupport], unknown: Set[UnknownFeature])
Companion:
object
Source:
Features.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def areSupported(remoteFeatures: Features[T]): Boolean

NB: this method is not reflexive, see Features.areCompatible if you want symmetric validation.

NB: this method is not reflexive, see Features.areCompatible if you want symmetric validation.

Source:
Features.scala
def hasFeature(feature: T, support: Option[FeatureSupport]): Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any
Source:
Features.scala

Inherited methods

Inherited from:
Product