Struct hyper::header::ContentLength
[-] [+]
[src]
pub struct ContentLength(pub u64);
The Content-Length
header.
Simply a wrapper around a u64
.
pub struct ContentLength(pub u64);
The Content-Length
header.
Simply a wrapper around a u64
.
impl Deref for ContentLength
impl DerefMut for ContentLength
impl Header for ContentLength
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<ContentLength>
impl HeaderFormat for ContentLength
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for ContentLength
impl Deref for ContentLength
impl DerefMut for ContentLength
impl Header for ContentLength
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<ContentLength>
impl HeaderFormat for ContentLength
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for ContentLength
impl Debug for ContentLength
impl PartialEq for ContentLength
fn eq(&self, __arg_0: &ContentLength) -> bool
fn ne(&self, __arg_0: &ContentLength) -> bool
impl Clone for ContentLength
fn clone(&self) -> ContentLength
fn clone_from(&mut self, source: &Self)
impl Copy for ContentLength
impl Debug for ContentLength
impl PartialEq for ContentLength
fn eq(&self, __arg_0: &ContentLength) -> bool
fn ne(&self, __arg_0: &ContentLength) -> bool
impl Clone for ContentLength
fn clone(&self) -> ContentLength
fn clone_from(&mut self, source: &Self)
impl Copy for ContentLength
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).