Struct iron::headers::ContentRange [] [src]

pub struct ContentRange(pub ContentRangeSpec);

Content-Range header, defined in RFC7233

Trait Implementations

impl Deref for ContentRange

type Target = ContentRangeSpec

fn deref(&'a self) -> &'a ContentRangeSpec

impl DerefMut for ContentRange

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

impl Header for ContentRange

fn header_name() -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Result<ContentRange, Error>

impl HeaderFormat for ContentRange

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

impl Display for ContentRange

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

Derived Implementations

impl PartialEq<ContentRange> 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<(), Error>

impl Clone for ContentRange

fn clone(&self) -> ContentRange

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