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 ContentRangefn clone(&self) -> ContentRange[src]
fn clone(&self) -> ContentRangeReturns 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 ContentRangefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ContentRange[src]
impl PartialEq for ContentRangefn eq(&self, __arg_0: &ContentRange) -> bool[src]
fn eq(&self, __arg_0: &ContentRange) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ContentRange) -> bool[src]
fn ne(&self, __arg_0: &ContentRange) -> boolThis method tests for !=.
impl Deref for ContentRange[src]
impl Deref for ContentRangetype Target = ContentRangeSpec
The resulting type after dereferencing.
fn deref(&self) -> &ContentRangeSpec[src]
fn deref(&self) -> &ContentRangeSpecDereferences the value.
impl DerefMut for ContentRange[src]
impl DerefMut for ContentRangefn deref_mut(&mut self) -> &mut ContentRangeSpec[src]
fn deref_mut(&mut self) -> &mut ContentRangeSpecMutably dereferences the value.
impl Header for ContentRange[src]
impl Header for ContentRangefn header_name() -> &'static str[src]
fn header_name() -> &'static strReturns 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 ContentRangefn fmt_header(&self, f: &mut Formatter) -> Result[src]
fn fmt_header(&self, f: &mut Formatter) -> ResultFormat a header to be output into a TcpStream. Read more
impl Display for ContentRange[src]
impl Display for ContentRangeAuto Trait Implementations
impl Send for ContentRange
impl Send for ContentRangeimpl Sync for ContentRange
impl Sync for ContentRange