pub trait RangeSource {
// Required method
fn get(
&mut self,
start: u64,
end: u64,
) -> Result<(Vec<u8>, u64), RangeError>;
}Expand description
Bytes of one remote object, fetched a range at a time: an HTTP server, or an object in a store.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".