pub trait RepairPageDevice: PageDevice {
// Required method
fn repair_page(
&mut self,
index: u64,
bytes: &[u8; 4096],
) -> Result<(), LinkError>;
}Expand description
Privileged repair of an existing page or contiguous missing suffix. The caller must validate a surviving copy and the complete logical prefix first.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".