Struct hyper::header::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() -> &'static str

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

impl HeaderFormat for Upgrade

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

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() -> &'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 Debug 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)

impl Debug 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)