Y52KSJEFIX7KIL3MWH65WKHKXIX34T3VUSBVH2SBJ4ZJHM767J4AC
async fn from_request(request: &'r Request<'_>) -> request::Outcome<Self, Self::Error> {
let db = try_outcome!(request.guard::<&State<Database>>().await);
// &State<Database>>().await);
async fn from_request(request: &'r Request<'_>) -> request::Outcome<User, ()> {
let db: &State<Database> = match request.guard().await {
Outcome::Success(db) => db,
_ => return Outcome::Failure((Status::Unauthorized, ())),
};