Struct iron::headers::TransferEncoding [-] [+] [src]

pub struct TransferEncoding(pub Vec<Encoding>);

Transfer-Encoding header, defined in RFC7230

The Transfer-Encoding header field lists the transfer coding names corresponding to the sequence of transfer codings that have been (or will be) applied to the payload body in order to form the message body.

ABNF

Transfer-Encoding = 1#transfer-coding

Example values

Trait Implementations

impl Deref for TransferEncoding

type Target = Vec<Encoding>

fn deref(&'a self) -> &'a Vec<Encoding>

impl DerefMut for TransferEncoding

fn deref_mut(&'a mut self) -> &'a mut Vec<Encoding>

impl Header for TransferEncoding

fn header_name() -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Option<TransferEncoding>

impl HeaderFormat for TransferEncoding

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

impl Display for TransferEncoding

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

Derived Implementations

impl PartialEq<TransferEncoding> for TransferEncoding

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

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

impl Debug for TransferEncoding

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

impl Clone for TransferEncoding

fn clone(&self) -> TransferEncoding

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