Struct hyper::header::common::upgrade::Upgrade [-]  [+] [src]

pub struct Upgrade(pub Vec<Protocol>);

The Upgrade header.

Trait Implementations

impl Deref for Upgrade

type Target = Vec<Protocol>

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

impl DerefMut for Upgrade

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

impl Header for Upgrade

fn header_name(_: Option<Upgrade>) -> &'static str

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

impl HeaderFormat for Upgrade

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

Derived Implementations

impl Show for Upgrade

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

impl PartialEq for Upgrade

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

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

impl Clone for Upgrade

fn clone(&self) -> Upgrade

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