Expand description
Common native shared-memory allocation, policy, and cleanup interface. Common lifecycle and policy interface for the best native shared-memory backend.
The region-to-prepared-to-batch path composed by crate::region,
crate::batch, and crate::session is the supported transfer route;
crate::memory::NativeRegion::prepare_for_sharing exists for the documented
lower-level boundary directly on this module’s own types and has no
public transfer consumer.
Structs§
- Native
Memory Capabilities - Cross-platform capabilities of the selected native backend.
- Native
Region - Common owner of the best private native shared-memory object on this target.
- Native
Share Request - Consuming boundary between common memory management and native transfer.
- Permission
Plan - Exact creator/peer access requested for the future sharing transition.
- Region
Options - Immutable configuration for one native shared-memory region.
- Region
Status - Snapshot of a managed region’s portable state and policy.
Enums§
- Authority
Mechanism - Kernel mechanism that freezes shared-memory authority before transfer.
- Cleanup
Policy - Cleanup policy applied while the common wrapper still owns the region.
- Growth
Policy - Capacity policy while a region is still private and quiescent.
- Memory
Access - Planned access for one endpoint after the sharing transition.
- Memory
Error - Portable allocation, policy, or lifecycle failure.
- Native
Architecture - Processor architecture selected for the native backend.
- Native
Platform - Native backend selected for the compilation target.
- Region
State - Current common lifecycle state.
- Seal
Policy - Mandatory authority-sealing policy for shared regions.
- Writer
Owner - Endpoint that will retain the sole writable mapping after transfer.
Functions§
- native_
memory_ capabilities - Reports the native memory behavior selected for this target.