[−][src]Trait websocket::header::Scheme
An Authorization scheme to be used in the header.
Required methods
fn scheme() -> Option<&'static str>
An optional Scheme name.
Will be replaced with an associated constant once available.
fn fmt_scheme(&self, &mut Formatter) -> Result<(), Error>
Format the Scheme data into a header value.
Implementations on Foreign Types
impl Scheme for String
[src]
impl Scheme for String
fn scheme() -> Option<&'static str> | [src] |
fn fmt_scheme(&self, f: &mut Formatter) -> Result<(), Error> | [src] |
Implementors
impl Scheme for Basic
[src]
impl Scheme for Basic
fn scheme() -> Option<&'static str> | [src] |
fn fmt_scheme(&self, f: &mut Formatter) -> Result<(), Error> | [src] |
impl Scheme for Bearer
[src]
impl Scheme for Bearer