(&self, service: S)
| 40 | type Future = Ready<Result<Self::Transform, Self::InitError>>; |
| 41 | |
| 42 | fn new_transform(&self, service: S) -> Self::Future { |
| 43 | ready(Ok(AuthMiddleware { |
| 44 | service: Rc::new(service), |
| 45 | })) |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | pub struct AuthMiddleware<S> { |
nothing calls this directly
no outgoing calls
no test coverage detected