Struct hyper::header::ContentRange
[−]
[src]
pub struct ContentRange(pub ContentRangeSpec);
Content-Range
header, defined in
RFC7233
Trait Implementations
impl Clone for ContentRange
[src]
fn clone(&self) -> ContentRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ContentRange
[src]
impl PartialEq for ContentRange
[src]
fn eq(&self, __arg_0: &ContentRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContentRange) -> bool
This method tests for !=
.
impl Deref for ContentRange
[src]
type Target = ContentRangeSpec
The resulting type after dereferencing
fn deref(&self) -> &ContentRangeSpec
The method called to dereference a value
impl DerefMut for ContentRange
[src]
fn deref_mut(&mut self) -> &mut ContentRangeSpec
The method called to mutably dereference a value
impl Header for ContentRange
[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>
Parse a header from a raw stream of bytes. Read more
impl HeaderFormat for ContentRange
[src]
fn fmt_header(&self, f: &mut Formatter) -> Result
Format a header to be output into a TcpStream. Read more