Function check

Source
pub fn check<S: AsRef<str>>(scheme: S) -> Result<(), Error>
Available on crate feature auth only.
Expand description

Checks whether the given scheme matches SCHEME.

ยงErrors

Returns Error when the scheme does not match SCHEME.