pub enum SymbolTableCache {
Nothing,
SymbolTable {
btree_addr: u64,
heap_addr: u64,
},
SoftLink {
value_offset: u32,
},
}Expand description
The 16-byte scratch pad of a symbol table entry, read according to the
entry’s cache type (H5G_cache_t / H5G__ent_decode). Modelling it as a
sum type keeps the soft-link case representable: a H5G_CACHED_SLINK
entry has no object header at all, and its whole content is the offset of
the link’s value string in the group’s local heap.
Variants§
Nothing
H5G_NOTHING_CACHED — the scratch pad holds nothing.
SymbolTable
H5G_CACHED_STAB — the child group’s B-tree and local heap.
SoftLink
H5G_CACHED_SLINK — this entry is a soft link, and the scratch pad
holds the offset of its value string in the group’s local heap.
Trait Implementations§
Source§impl Clone for SymbolTableCache
impl Clone for SymbolTableCache
Source§impl Debug for SymbolTableCache
impl Debug for SymbolTableCache
impl Eq for SymbolTableCache
Source§impl PartialEq for SymbolTableCache
impl PartialEq for SymbolTableCache
impl StructuralPartialEq for SymbolTableCache
Auto Trait Implementations§
impl Freeze for SymbolTableCache
impl RefUnwindSafe for SymbolTableCache
impl Send for SymbolTableCache
impl Sync for SymbolTableCache
impl Unpin for SymbolTableCache
impl UnsafeUnpin for SymbolTableCache
impl UnwindSafe for SymbolTableCache
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