rama_http/service/web/endpoint/extract/
request.rs

1
2
3
4
5
6
7
8
9
10
11
use super::FromRequest;
use crate::Request;
use std::convert::Infallible;

impl FromRequest for Request {
    type Rejection = Infallible;

    async fn from_request(req: Request) -> Result<Self, Self::Rejection> {
        Ok(req)
    }
}