pub trait ExpertRows {
// Required method
fn row(&self, bank: usize, layer: u32, row: u32) -> Option<&[u8]>;
}Expand description
The host-side expert rows a CopyPlan reads from.
Layer-local by construction, matching
CopyPlan::src_rows:
row r of layer L, not a flat index. That is what lets each
layer’s bank live in its own allocation, which in turn is what lets
crate::residency give different layers different host residency
classes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".