Module shared_memory

Module shared_memory 

Expand description

Cross-process shared memory buffer management and blob allocation.

Modules§

unix
POSIX shared memory (memfd_create and mmap) blob allocator.

Macros§

bail
Return early with an error.

Structs§

BlobId
Opaque identifier for a shared blob.
BlobToken
A blob token that authorizes mapping/reading/writing to a blob on the data plane.
MappedRead
A mapped read-only view of a blob.
ProducerBlob
A producer-created blob that can be shared with other processes.
SharedMemoryBlobs

Enums§

BlobBackend
SharedBlobDescriptor
Platform-neutral description of a shared memory handle that can be sent via control plane metadata.

Traits§

BlobAllocator
Blob allocator for creating and managing shared blobs.
BlobReader
Reader side to map an incoming blob by token/descriptor.
Context
Provides the context method for Result.

Functions§

descriptor_requires_fd_transfer
Check if a blob descriptor requires FD transfer.
read_blob_contents
Read the contents of a blob directly from its descriptor.

Type Aliases§

Result
Result<T, Error>