pub struct BtreeKMessage {
pub chunk_internal_k: u16,
pub snode_internal_k: u16,
pub sym_leaf_k: u16,
}Expand description
v1 B-tree “K” values message (0x0013) — H5Obtreek.c.
Present only when the file was created with non-default split ranks; its three values replace the superblock’s own (v0/v1) or the library defaults (v2/v3, whose superblock has no room for them).
Fields§
§chunk_internal_k: u16Internal-node 1/2 rank for chunked-storage (type 1) B-trees.
snode_internal_k: u16Internal-node 1/2 rank for symbol-table (type 0) B-trees.
sym_leaf_k: u16Symbol-table leaf-node (SNOD) 1/2 rank.
Implementations§
Source§impl BtreeKMessage
impl BtreeKMessage
Sourcepub fn decode(buf: &[u8]) -> FormatResult<Self>
pub fn decode(buf: &[u8]) -> FormatResult<Self>
Decode the message body.
Trait Implementations§
Source§impl Clone for BtreeKMessage
impl Clone for BtreeKMessage
Source§fn clone(&self) -> BtreeKMessage
fn clone(&self) -> BtreeKMessage
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 BtreeKMessage
Source§impl Debug for BtreeKMessage
impl Debug for BtreeKMessage
impl Eq for BtreeKMessage
Source§impl PartialEq for BtreeKMessage
impl PartialEq for BtreeKMessage
impl StructuralPartialEq for BtreeKMessage
Auto Trait Implementations§
impl Freeze for BtreeKMessage
impl RefUnwindSafe for BtreeKMessage
impl Send for BtreeKMessage
impl Sync for BtreeKMessage
impl Unpin for BtreeKMessage
impl UnsafeUnpin for BtreeKMessage
impl UnwindSafe for BtreeKMessage
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