Type Definition range_reader::RangedFuture
source · [−]pub type RangedFuture = Box<dyn Fn(u64, usize) -> BoxFuture<'static, Result<RangeOutput>> + Send + Sync>;
Expand description
A function that returns a [BoxFuture
] of RangeOutput
.
For example, an async request to return a range of bytes from a blob from the internet.