pub trait Scheme: FromStr + Debug + Clone + Send + Sync {
fn scheme() -> Option<&'static str>;
fn fmt_scheme(&self, _: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
An Authorization scheme to be used in the header.
pub trait Scheme: FromStr + Debug + Clone + Send + Sync {
fn scheme() -> Option<&'static str>;
fn fmt_scheme(&self, _: &mut Formatter<'_>) -> Result<(), Error>;
}
An Authorization scheme to be used in the header.