Skip to main content

Module operation

Module operation 

Source
Expand description

Allocation-free operation preparation and checked response policy.

Structs§

CheckedResponse
Response that passed one operation’s complete provider-neutral policy.
CheckedResponseGuard
Policy-checked response that owns cleanup of its caller storage.
OperationId
Validated static identifier assigned by a provider specification.
OperationMetadata
Complete operation safety metadata without permissive defaults.
OwnedPreparationStorage
Fallibly allocated preparation buffers cleared in full on drop.
PreparationCapacityProfile
Named, bounded storage capacities for request preparation.
PreparationStorage
Caller-owned target and request-body storage supplied to preparation.
PreparationStorageGuard
Caller-owned preparation buffers that are cleared together on drop.
PreparedRequest
Complete request, endpoint, operation metadata, and response policy.
ProviderService
Provider service and immutable endpoint trust policy.
ResponsePolicy
Complete checked-response policy.

Enums§

ContentTypePolicy
Response content-type requirement and accepted media types.
CostIntent
Whether executing the operation may directly incur provider charges.
OperationIdError
Invalid provider operation identifier.
OperationImpact
Provider operation impact.
OperationMetadataError
Incoherent operation metadata.
PreparationCapacityError
Failure while selecting or allocating preparation storage.
PreparedExecutionError
Prepared execution failure with transport details redacted from diagnostics.
RequestIdPolicy
Lifecycle policy for provider request identifiers.
RequestSemantics
HTTP request semantics independent of provider impact.
ResponseBodyPolicy
Expected response-body shape.
ResponsePolicyError
Response rejected before provider decoding.
ResponsePolicyValidationError
Invalid response-policy construction.
RetryEligibility
Whether caller-owned retry policy may retry the operation.

Constants§

DEFAULT_BODY_BYTES
Default request-body capacity in bytes.
EMBEDDED_BODY_BYTES
Embedded request-body capacity in bytes.
LARGE_BODY_BYTES
Large request-body capacity in bytes.

Traits§

PrepareOperation
Typed provider operation that can prepare one complete request.