pub enum LinkStorage {
SymbolTable,
Compact,
Dense,
}Expand description
Where a group’s links physically live: the pre-1.8 symbol table (a v1
B-tree plus a local heap, SymbolTable), inline as Link messages in the
object header (Compact), or split into a fractal heap plus a v2 B-tree
name index once the set has grown past H5G_obj_insert’s phase-change
threshold (Dense). Mirrors h5py’s link_storage_str: a Symbol Table
message wins outright, otherwise a nonzero
h5o.get_info(...).meta_size.obj.index_size means dense.
Variants§
SymbolTable
Links live in a v1 B-tree indexed local heap — the format every group used before HDF5 1.8.
Compact
Link messages sit directly in the object header.
Dense
Links live in a fractal heap, indexed by a v2 B-tree.
Implementations§
Trait Implementations§
Source§impl Clone for LinkStorage
impl Clone for LinkStorage
Source§fn clone(&self) -> LinkStorage
fn clone(&self) -> LinkStorage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LinkStorage
Source§impl Debug for LinkStorage
impl Debug for LinkStorage
Source§impl Default for LinkStorage
impl Default for LinkStorage
Source§fn default() -> LinkStorage
fn default() -> LinkStorage
Returns the “default value” for a type. Read more
impl Eq for LinkStorage
Source§impl PartialEq for LinkStorage
impl PartialEq for LinkStorage
impl StructuralPartialEq for LinkStorage
Auto Trait Implementations§
impl Freeze for LinkStorage
impl RefUnwindSafe for LinkStorage
impl Send for LinkStorage
impl Sync for LinkStorage
impl Unpin for LinkStorage
impl UnsafeUnpin for LinkStorage
impl UnwindSafe for LinkStorage
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