Enum rocket_http::hyper::header::ByteRangeSpec [−][src]
Expand description
Each Range::Bytes
header can contain one or more ByteRangeSpecs
.
Each ByteRangeSpec
defines a range of bytes to fetch
Variants
Get all bytes between x and y (“x-y”)
AllFrom(u64)
Get all bytes starting from x (“x-”)
Tuple Fields of AllFrom
0: u64
Last(u64)
Get last x bytes (“-x”)
Tuple Fields of Last
0: u64
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ByteRangeSpec
impl Send for ByteRangeSpec
impl Sync for ByteRangeSpec
impl Unpin for ByteRangeSpec
impl UnwindSafe for ByteRangeSpec
Blanket Implementations
Mutably borrows from an owned value. Read more