pub struct PageBytes {
pub k: Vec<u8>,
pub v: Vec<u8>,
}Expand description
One physical (K, V) page as a pair of opaque byte buffers, both of length
meta.page_bytes(). We never interpret the bytes — they’re whatever the
engine handed us.
Fields§
§k: Vec<u8>Raw K-tensor bytes for this page.
v: Vec<u8>Raw V-tensor bytes for this page.
Trait Implementations§
impl Eq for PageBytes
impl StructuralPartialEq for PageBytes
Auto Trait Implementations§
impl Freeze for PageBytes
impl RefUnwindSafe for PageBytes
impl Send for PageBytes
impl Sync for PageBytes
impl Unpin for PageBytes
impl UnsafeUnpin for PageBytes
impl UnwindSafe for PageBytes
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