Struct hyper::header::ContentRange [−][src]
pub struct ContentRange(pub ContentRangeSpec);
Content-Range
header, defined in
RFC7233
Trait Implementations
impl Clone for ContentRange
[src]
impl Clone for ContentRange
fn clone(&self) -> ContentRange
[src]
fn clone(&self) -> ContentRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ContentRange
[src]
impl Debug for ContentRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ContentRange
[src]
impl PartialEq for ContentRange
fn eq(&self, other: &ContentRange) -> bool
[src]
fn eq(&self, other: &ContentRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContentRange) -> bool
[src]
fn ne(&self, other: &ContentRange) -> bool
This method tests for !=
.
impl Deref for ContentRange
[src]
impl Deref for ContentRange
type Target = ContentRangeSpec
The resulting type after dereferencing.
fn deref(&self) -> &ContentRangeSpec
[src]
fn deref(&self) -> &ContentRangeSpec
Dereferences the value.
impl DerefMut for ContentRange
[src]
impl DerefMut for ContentRange
fn deref_mut(&mut self) -> &mut ContentRangeSpec
[src]
fn deref_mut(&mut self) -> &mut ContentRangeSpec
Mutably dereferences the value.
impl Header for ContentRange
[src]
impl Header for ContentRange
fn header_name() -> &'static str
[src]
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &[Vec<u8>]) -> Result<Self>
[src]
fn parse_header(raw: &[Vec<u8>]) -> Result<Self>
Parse a header from a raw stream of bytes. Read more
impl HeaderFormat for ContentRange
[src]
impl HeaderFormat for ContentRange
fn fmt_header(&self, f: &mut Formatter) -> Result
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to be output into a TcpStream. Read more
impl Display for ContentRange
[src]
impl Display for ContentRange
Auto Trait Implementations
impl Send for ContentRange
impl Send for ContentRange
impl Sync for ContentRange
impl Sync for ContentRange