Skip to main content

Crate ic_storage

Crate ic_storage 

Source
Expand description

Scoped scalar-vector operations for an already valid live allocation.

This crate neither opens retained bytes nor establishes allocator custody. The vector caller owns admission, initialization, publication and failure policy. The optional map feature adds an allocator-owned scalar hash table with scoped access, host poisoning and portable recovery. No private Vec header is admitted for persistence. The installed provider uses the vector API.

Modules§

record
Description types for the experimental scalar-only Store derive. These describe concrete public layouts and logical fields, not allocator or pointer validity. No marker trait grants permission to reopen retained bytes.

Structs§

Vector
An exclusive scalar view, with no Deref, Clone or owning iterator.

Enums§

Refusal
Expected refusal before this operation changes the logical vector.

Functions§

with_vector
Lend a restricted view while keeping the owning Vec with the caller.