pub type Request = InputRequest;👎Deprecated:
use InputRequest
Expand description
Deprecated byte-input request name; use InputRequest.
Aliased Type§
pub enum Request {
AtLeast {
offset: u64,
min_len: usize,
},
Range(ByteRange),
Len,
}Variants§
AtLeast
Bytes from offset on: an input starting there with at least
min_len bytes, or every remaining byte (with total_len set) when
the source ends first. More is welcome. A sequential decoder asks
this way; min_len is the contiguous span it needs to make progress
without copying (one worst-case row, one marker segment).
Fields
Range(ByteRange)
Exactly this span.
Len
The total source length, supplied as Input::total_len.