openfeature/evaluation

Types

pub type BoolEvaluation =
  GenericEvaluation(Bool)
pub type DynamicEvaluation =
  GenericEvaluation(Dynamic)
pub type ErrorCode {
  ProviderNotReady
  FlagNotFound
  ParseError
  TypeMismatch
  TargetingKeyMissing
  InvalidContext
  General
}

Constructors

  • ProviderNotReady
  • FlagNotFound
  • ParseError
  • TypeMismatch
  • TargetingKeyMissing
  • InvalidContext
  • General
pub type FloatEvaluation =
  GenericEvaluation(Float)
pub type IntEvaluation =
  GenericEvaluation(Int)
pub type Reason {
  Disabled
  Split
  TargetingMatch
  Default
  Unknown
  Cached
  Static
  Error
}

Constructors

  • Disabled
  • Split
  • TargetingMatch
  • Default
  • Unknown
  • Cached
  • Static
  • Error
pub type ResolutionDetails(value) {
  ResolutionSuccess(value: value, reason: Reason)
  ResolutionError(
    value: value,
    reason: Reason,
    code: ErrorCode,
    message: String,
  )
}

Constructors

  • ResolutionSuccess(value: value, reason: Reason)
  • ResolutionError(
      value: value,
      reason: Reason,
      code: ErrorCode,
      message: String,
    )
pub type StringEvaluation =
  GenericEvaluation(String)
Search Document