Trait Serializable indicates a fixed-length object that can be serialized as one or more u64 elements.
A Vec of Serializable objects can always be serialized.
The size of a serialized object is now expressed in terms of u64 elements.
Memory-mapped objects
MemoryMap maps the file as an array of u64 elements. The file can be opened as read-only or mutable.
Trait MemoryMapped indicates a memory-mapped object starting at a specified offset of a MemoryMap.
MappedSlice is an immutable memory-mapped slice of a Serializable type compatible with the serialization format of Vec of the same type.
MappedOption is an optional memory-mapped object compatible with the serialization format of Option of the same type.
RawVectorMapper and IntVectorMapper are immutable memory-mapped vectors compatible with the serialization formats of RawVector and IntVector, respectively.
Serialization changes
Serializable
indicates a fixed-length object that can be serialized as one or moreu64
elements.Vec
ofSerializable
objects can always be serialized.u64
elements.Memory-mapped objects
MemoryMap
maps the file as an array ofu64
elements. The file can be opened as read-only or mutable.MemoryMapped
indicates a memory-mapped object starting at a specified offset of aMemoryMap
.MappedSlice
is an immutable memory-mapped slice of aSerializable
type compatible with the serialization format ofVec
of the same type.MappedOption
is an optional memory-mapped object compatible with the serialization format ofOption
of the same type.RawVectorMapper
andIntVectorMapper
are immutable memory-mapped vectors compatible with the serialization formats ofRawVector
andIntVector
, respectively.