pub struct BlockReadRequest {
pub base_key: GroupKey,
pub dst_dev_ptr: u64,
}Expand description
One block-granular read: land the whole block (all kv-heads’ K then V,
block_bytes) into the device slot based at dst_dev_ptr
(== ScratchPool::slot_dev_ptr(slot)). base_key carries kv_head = 0, kind = K by convention; only its layer and block are load-bearing.
Fields§
§base_key: GroupKey§dst_dev_ptr: u64Trait Implementations§
Source§impl Clone for BlockReadRequest
impl Clone for BlockReadRequest
Source§fn clone(&self) -> BlockReadRequest
fn clone(&self) -> BlockReadRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockReadRequest
impl Debug for BlockReadRequest
impl Copy for BlockReadRequest
Auto Trait Implementations§
impl Freeze for BlockReadRequest
impl RefUnwindSafe for BlockReadRequest
impl Send for BlockReadRequest
impl Sync for BlockReadRequest
impl Unpin for BlockReadRequest
impl UnwindSafe for BlockReadRequest
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