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[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ContentRange[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for ContentRange[src]
fn eq(&self, __arg_0: &ContentRange) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ContentRange) -> bool[src]
This method tests for !=.
impl Deref for ContentRange[src]
type Target = ContentRangeSpec
The resulting type after dereferencing.
fn deref(&self) -> &ContentRangeSpec[src]
Dereferences the value.
impl DerefMut for ContentRange[src]
fn deref_mut(&mut self) -> &mut ContentRangeSpec[src]
Mutably dereferences the value.
impl Header for ContentRange[src]
fn header_name() -> &'static str[src]
Returns the name of the header field this belongs to. Read more
fn parse_header(raw: &Raw) -> Result<Self>[src]
Parse a header from a raw stream of bytes. Read more
fn fmt_header(&self, f: &mut Formatter) -> Result[src]
Format a header to outgoing stream. Read more