enum
Bakelite::StorageMode
Overview
Represents how an asset is stored in the binary or volume.
Defined in:
bakelite/types.crEnum Members
-
Bake =
0_u8 -
Inlined directly into compiled binary as static String/Bytes. Instant, zero-copy access; best for configs, manifests, small templates.
-
Store =
1_u8 -
Chunked, compressed, and stream-backed. Reads through Bakelite::FileIO in O(chunk_size) RAM; best for media, large files.
Instance Method Summary
-
#bake?
Returns
trueif this enum value equalsBake -
#store?
Returns
trueif this enum value equalsStore