Struct hyper::header::AccessControlRequestMethod [-] [+] [src]

pub struct AccessControlRequestMethod(pub Method);

The Access-Control-Request-Method request header, part of CORS.

The Access-Control-Request-Method header indicates which method will be used in the actual request as part of the preflight request.

Spec: www.w3.org/TR/cors/#access-control-request-method-request-header

Trait Implementations

impl Header for AccessControlRequestMethod

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestMethod

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

impl Header for AccessControlRequestMethod

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestMethod

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

impl Header for AccessControlRequestMethod

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestMethod

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

Derived Implementations

impl Debug for AccessControlRequestMethod

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

impl PartialEq for AccessControlRequestMethod

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

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

impl Clone for AccessControlRequestMethod

fn clone(&self) -> AccessControlRequestMethod

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

impl Debug for AccessControlRequestMethod

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

impl PartialEq for AccessControlRequestMethod

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

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

impl Clone for AccessControlRequestMethod

fn clone(&self) -> AccessControlRequestMethod

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

impl Debug for AccessControlRequestMethod

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

impl PartialEq for AccessControlRequestMethod

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

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

impl Clone for AccessControlRequestMethod

fn clone(&self) -> AccessControlRequestMethod

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