/*!
# `simple-authorization` Request Guard for Rocket Framework
This crate provides a request guard builder used for authorization.
See `examples`.
*/modmacros;#[macro_use]#[doc(hidden)]pubexterncrate rocket;userocket::request::Request;/// The trait for an authorizer.
#[async_trait]pubtraitSimpleAuthorization<'r>
where
Self: Sized, {/// Check whether the value in the `Authorization` header is valid or not. If it is valid, create a new instance of `Self`.
async fnauthorizing(request:&'rRequest<'_>, authorization:Option<&'rstr>)->Option<Self>;}