pub trait WindowSource {
// Required method
fn read_window(
&mut self,
offset: u64,
len: u64,
) -> Result<Vec<u8>, PackError>;
}Expand description
A synchronous source serving exact ranges, without retaining earlier windows.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".