Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Independently driven endpoint-v1 extension. Implementation profile, not a protocol security qualification. Legacy paired helper remains unchanged.

Structs§

ChannelBuildError
Refusal returns BOTH original actual owners; no fresh keys/charge are minted.
ChannelIo
Resource scope excludes the charge owner: close/drop cannot relock this ledger.
EndpointAuthority
EndpointReservation
EndpointWorkspace
Explicit caller-owned bounded scratch. Host reservation must cover workspace_bytes() plus endpoint object/provider internals before construction.
EstablishedSession
FrameIo
One bounded effect. No authority lock lives in this transport view.
Initiator
Intent
PeerTrust
ProtectedChannel
Consumed endpoint plus actual bearer. No Clone, key accessor or reinstallation. Drop closes the bearer/erases local buffers but deliberately retains the canonical charge. Use try_close after actual I/O has drained to release it.
Responder
Route
Route to a host-owned nonblocking Bearer. Endpoint steps bound frame count; the adapter itself must return promptly and must not reenter authority locks.
SigningCommitment
Public pending commitment, never signing authority. Host admits an exact managed Binding referencing this copied digest through its central library.

Enums§

Phase
Role

Constants§

COUNTED_ENDPOINT_BYTES
Mechanically counted retained owners plus explicit local transient allowance. Provider-internal stack/heap remains the existing provider’s separate budget; no provider allocation qualification is inferred from these type sizes.
ENDPOINT_RESERVATION_BYTES
Fixed endpoint+workspace charge; provider-internal allocation is separately qualified.
INITIATOR_PURPOSE
INTENT_BYTES
PROFILE
RESPONDER_PURPOSE

Functions§

workspace_bytes