pub enum StorageLayout {
Compact {
data: Bytes,
},
Contiguous {
address: u64,
size: u64,
},
Chunked {
chunk_shape: Vec<u64>,
index_address: u64,
indexing_type: ChunkIndexType,
flags: u8,
index_params: ChunkIndexParams,
},
}Expand description
Data layout message — describes how dataset storage is organized.
Message type 0x0008.
Variants§
Compact
Data stored inline in the object header. For very small datasets.
Contiguous
Data stored as a single contiguous block in the file.
Fields
Chunked
Data stored in chunks, with an index structure for lookup.
Implementations§
Source§impl StorageLayout
impl StorageLayout
Trait Implementations§
Source§impl Clone for StorageLayout
impl Clone for StorageLayout
Source§fn clone(&self) -> StorageLayout
fn clone(&self) -> StorageLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for StorageLayout
impl RefUnwindSafe for StorageLayout
impl Send for StorageLayout
impl Sync for StorageLayout
impl Unpin for StorageLayout
impl UnsafeUnpin for StorageLayout
impl UnwindSafe for StorageLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more