Expand description
Generated transport-neutral Rust types for the Heddle API.
Modules§
- descriptor_
trust - Canonical two-layer root-attested ephemeral endpoint-descriptor contract.
- framing
- heddle
- Heddle API protobuf packages.
- mint_
root_ association - Checked wire decoding for messages whose mint-root association is security sensitive. Protobuf oneofs otherwise decode duplicate alternatives last-wins.
- passkey_
mint_ grant - Canonical account-free statement signed by a WebAuthn passkey when it delegates a temporary mint root.
- password_
owner - Bounds and canonical signing inputs for password-unlocked client owner keys. These checks do not turn a password proof into owner authorization.
- provider_
v2 - Canonical native provider-plan consent and exact assembly commitments. Protobuf is a transport container; these bytes are the portable proof.
- request_
proof - Portable verification of the native CallContext request proof. Verification grants no resource authority and does not consume the nonce; the receiving host must durably reject replay before serving or writing.
- signing
- Contract-owned request-signing bytes and header vocabulary.
- treadle
- Canonical encoding for the signed treadle definition contract.
- v2
- Shared v2 client behavior. Transport adapters retain key and connection ownership.
Structs§
- Invalid
Identifier Length - Errors returned while constructing fixed-width API identifiers.
- Method
Descriptor - Generated transport-neutral method contract.
- Request
Metadata Error - Malformed protobuf while extracting transport-level request metadata.
- Routed
Call - Transport-neutral information passed from an operation-stream decoder to a contract router before the request body is decoded.
Enums§
- Method
Route - Generated stable route identity for every declared contract method.
- Streaming
Shape - Message cardinality on each side of a contract method.
Constants§
- ACCOUNT_
BILLING_ LOCK_ POLICY_ ID - Stable policy identifier for the account billing lock.
- ALL_
METHODS - All declared contract methods, sorted by fully-qualified path.
- DEFAULT_
PAGE_ SIZE - Page size used when callers omit or pass zero for a requested size.
- GRANT_
ENVELOPE_ V2_ FIXTURE_ JSON - Cross-product canonical GrantEnvelope v2 payload and rejection fixtures.
- HOSTED_
ALPN_ V1 - Production ALPN for the first transport-neutral hosted-call protocol.
- HOSTED_
CALL_ V1_ FIXTURE_ JSON - Cross-product hosted-call framing and typed-failure fixture.
- MAX_
PAGE_ SIZE - Largest page the public API permits.
- PROVIDER_
ALPN_ V1 - Production ALPN for an opaque-ticket provider extent transfer.
- STATE_
ATTACHMENT_ AUTHORIZATION_ CONFORMANCE - Generated exhaustive authorization classification for every current state attachment kind.
- TRANSPORT_
BOOTSTRAP_ V1_ FIXTURE_ JSON - Cross-product endpoint-descriptor and relay-admission signing fixture.
- UNARY_
SIGNING_ V1_ FIXTURE_ JSON - Cross-product canonical unary-signing fixture.
Functions§
- account_
billing_ lock_ error_ detail - Builds the single structured error detail used for an account billing-lock
denial. Hosts attach this detail to a
FAILED_PRECONDITIONfailure. - account_
billing_ lock_ from_ error_ detail - Returns the typed lock from a policy denial, rejecting details with a different reason, policy identifier, or context arm.
- decode_
account_ billing_ lock_ error_ detail - Decodes a transported
ErrorDetailand extracts its account billing lock. A valid non-billing detail returnsOk(None). - encode_
account_ billing_ lock_ error_ detail - Encodes a complete account billing-lock
ErrorDetailfor transport. - human_
verification_ challenge - Extract a human-verification challenge from an
ErrorDetail, if present. - human_
verification_ error_ detail - Build an
ErrorDetailcarrying a human-verification challenge (policy-denied with an actionable challenge), for theErrorDetail.human_verificationarm. - method_
descriptor - Looks up a declared method by its canonical fully-qualified path.
- normalize_
page_ size - Applies the contract-owned default and upper bound to a requested page.
- state_
attachment_ authorization_ classification - Returns the generated fail-closed classification for a known attachment kind.