Static Methodswift-certificates 1.8.0X509
buildFinalResult(_:)
PolicyBuilder.swift:226- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static func buildFinalResult(_ component: AnyPolicy) -> AnyPolicy
static func buildFinalResult(_ component: AnyPolicy) -> AnyPolicy
s4X50913PolicyBuilderV16buildFinalResultyAA03AnyB0VAFFZ
What are these?9D5KG
import X509
A library for working with X.509 certificates.
@resultBuilder struct PolicyBuilder
Provides a result-builder style DSL for constructing a VerifierPolicy
.
struct AnyPolicy
AnyPolicy
can be used to erase the concrete type of some VerifierPolicy
. Only use AnyPolicy
if type erasure is necessary. Instead try to use conditional inclusion of different policies using PolicyBuilder
.
static func buildBlock() -> some VerifierPolicy
static func buildEither<First, Second>(first component: First) -> _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildEither<First, Second>(second component: Second) -> _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildFinalResult(_ component: some VerifierPolicy) -> some VerifierPolicy
static func buildLimitedAvailability<Policy>(_ component: Policy) -> Policy where Policy : VerifierPolicy
static func buildOptional(_ component: (some VerifierPolicy)?) -> some VerifierPolicy
static func buildPartialBlock(accumulated: some VerifierPolicy, next: some VerifierPolicy) -> some VerifierPolicy
static func buildPartialBlock<Policy>(first: Policy) -> Policy where Policy : VerifierPolicy
struct _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
implementation detail of PolicyBuilder
which should not be used outside the implementation of PolicyBuilder
.