(&'a self, _params: &'a Params)
| 10 | |
| 11 | impl ResolveEndpoint for StaticEndpoint { |
| 12 | fn resolve_endpoint<'a>(&'a self, _params: &'a Params) -> EndpointFuture<'a> { |
| 13 | let endpoint = Endpoint::builder().url(self.0).build(); |
| 14 | tracing::info!(?endpoint, "Resolving endpoint"); |
| 15 | EndpointFuture::ready(Ok(endpoint)) |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | #[cfg(test)] |