Struct edge::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<ContentRange, Error>

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

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