Skip to main content

Module binding

Module binding 

Source
Expand description

Registry-issued memory bindings and lifetime pins.

This module is intentionally narrower than a process memory manager. It owns registration identity, current-mechanism selection, binding/allocation identity, owning allocation handles, and the Arcs required to keep one mechanism usable. It does not own allocation policy, reservations, leases, queue scheduling, or reclamation of quarantined ownership.

Release ownership is split deliberately:

Structs§

AllocationGeneration
Opaque registry-issued generation of one allocation at one binding.
AllocationIdentity
Identity of one allocation made through a binding.
AuthorityIdentity
BindingGeneration
Opaque registry-issued generation of one MemoryBinding.
BindingId
BindingIdentity
Complete identity of one manager-issued binding.
BindingRegistry
A narrow registry for provider/context pins and binding identity.
BoundAllocation
Non-RAII allocation metadata issued by one MemoryBinding.
BoundMemoryView
Cloneable metadata for a sub-range of one bound allocation.
BoundSharedMapping
Shared-mapping access pinned to one binding.
BoundSharedPrefix
Shared physical-prefix handle pinned to one binding.
BoundVirtualBacking
Virtual-backing access pinned to one binding.
ExplicitReleaseError
Explicit release failure that preserves allocation metadata and pins.
MechanismIdentity
MechanismSnapshot
Read-only lifecycle information. Taking a snapshot never invokes a provider.
MemoryBinding
One binding to a registered device/mechanism/context/authority tuple.
OwnedView
A borrowed, cloneable alias of one OwningAllocation.
OwningAllocation
Owning responsibility for exactly one BoundAllocation.
OwningReleaseError
Owning-release failure that hands the exact owner back.
ProviderContextIdentity
RegisteredAuthority
Registry handle for one accounting authority.
RegisteredMechanism
Registry handle for one allocator mechanism or trusted coherent bundle.
RegisteredProviderContext
Registry handle for one provider context.
ValidatedMemoryView
Pointer/extent exposed only after binding validation.

Enums§

BindingError
Binding/registration failure before any caller-provided device action runs.
MechanismCoherence
Whether one registered allocator is self-contained or an explicitly trusted composition of multiple inner mechanism interfaces.
MechanismLifecycle
Lifecycle of one registered mechanism.

Traits§

BindingResource
Resource retained by a registered provider context or authority.