Enum hyper::header::RangeUnit
[−]
[src]
pub enum RangeUnit {
Bytes,
None,
Unregistered(String),
}Range Units, described in RFC7233
A representation can be partitioned into subranges according to various structural units, depending on the structure inherent in the representation's media type.
ABNF
range-unit = bytes-unit / other-range-unit
bytes-unit = "bytes"
other-range-unit = token
Variants
BytesIndicating byte-range requests are supported.
NoneReserved as keyword, indicating no ranges are supported.
Unregistered(String)The given range unit is not registered at IANA.