Trait tectonic_geturl::RangeReader[][src]

pub trait RangeReader {
    type Response: Read;
    fn read_range(
        &mut self,
        offset: u64,
        length: usize
    ) -> Result<Self::Response>; }
Expand description

A trait for reading byte ranges from an HTTP resource.

Associated Types

The readable type returned by the range request.

Required methods

Read the specified range of bytes from this HTTP resource.

Implementors