pub struct OpenByteRange { /* private fields */ }
Expand description
An open byte range.
Implementations§
Trait Implementations§
Source§impl ByteRange for OpenByteRange
impl ByteRange for OpenByteRange
Source§fn to_http_range(&self) -> String
fn to_http_range(&self) -> String
Format a single “segment” of a HTTP
Range
header. Read moreSource§fn to_http(&self) -> HeaderValue
fn to_http(&self) -> HeaderValue
Format a HTTP
Range
header.Source§impl Clone for OpenByteRange
impl Clone for OpenByteRange
Source§fn clone(&self) -> OpenByteRange
fn clone(&self) -> OpenByteRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OpenByteRange
impl Debug for OpenByteRange
Source§impl From<RangeFull> for OpenByteRange
impl From<RangeFull> for OpenByteRange
Source§impl Ord for OpenByteRange
impl Ord for OpenByteRange
Source§fn cmp(&self, other: &OpenByteRange) -> Ordering
fn cmp(&self, other: &OpenByteRange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenByteRange
impl PartialEq for OpenByteRange
Source§impl PartialOrd for OpenByteRange
impl PartialOrd for OpenByteRange
impl Copy for OpenByteRange
impl Eq for OpenByteRange
impl StructuralPartialEq for OpenByteRange
Auto Trait Implementations§
impl Freeze for OpenByteRange
impl RefUnwindSafe for OpenByteRange
impl Send for OpenByteRange
impl Sync for OpenByteRange
impl Unpin for OpenByteRange
impl UnwindSafe for OpenByteRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.