Struct hyper::header::common::connection::Connection [-]  [+] [src]

pub struct Connection(pub Vec<ConnectionOption>);

The Connection header.

Trait Implementations

impl Deref for Connection

type Target = Vec<ConnectionOption>

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

impl DerefMut for Connection

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

impl Header for Connection

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

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

impl HeaderFormat for Connection

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

Derived Implementations

impl Show for Connection

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

impl PartialEq for Connection

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

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

impl Clone for Connection

fn clone(&self) -> Connection

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