Struct hyper::header::ContentRange [] [src]

pub struct ContentRange(pub ContentRangeSpec);

Content-Range header, defined in RFC7233

Trait Implementations

impl Deref for ContentRange

type Target = ContentRangeSpec

fn deref(&self) -> &ContentRangeSpec

impl DerefMut for ContentRange

fn deref_mut(&mut self) -> &mut ContentRangeSpec

impl Header for ContentRange

fn header_name() -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Result<Self>

impl HeaderFormat for ContentRange

fn fmt_header(&self, f: &mut Formatter) -> Result

impl Display for ContentRange

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl PartialEq for ContentRange

fn eq(&self, __arg_0: &ContentRange) -> bool

fn ne(&self, __arg_0: &ContentRange) -> bool

impl Debug for ContentRange

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for ContentRange

fn clone(&self) -> ContentRange

fn clone_from(&mut self, source: &Self)