Struct http_range_header::ParsedRanges [−][src]
pub struct ParsedRanges { /* fields omitted */ }
Implementations
pub fn validate(
&self,
file_size_bytes: u64
) -> Result<Vec<RangeInclusive<u64>>, RangeUnsatisfiableError>
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 ParsedRanges
impl Send for ParsedRanges
impl Sync for ParsedRanges
impl Unpin for ParsedRanges
impl UnwindSafe for ParsedRanges
Blanket Implementations
Mutably borrows from an owned value. Read more