pub struct KeyPtr {
pub key: DiskKey,
pub blockptr: u64,
pub generation: u64,
}Expand description
A btrfs_key_ptr from an interior node: the child’s smallest key, its
logical block address, and the generation it was written in.
Fields§
§key: DiskKeyThe child subtree’s smallest key.
blockptr: u64blockptr — the child node’s logical address.
generation: u64generation — the transaction id the child was written in.
Trait Implementations§
impl Copy for KeyPtr
impl Eq for KeyPtr
impl StructuralPartialEq for KeyPtr
Auto Trait Implementations§
impl Freeze for KeyPtr
impl RefUnwindSafe for KeyPtr
impl Send for KeyPtr
impl Sync for KeyPtr
impl Unpin for KeyPtr
impl UnsafeUnpin for KeyPtr
impl UnwindSafe for KeyPtr
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