feature: use native-tls in ureq requests to trust system TLS certs #4277
Annotations
2 errors
Run clechasseur/rs-clippy-check@v3:
src/bin/crawl-worker.rs#L613
error[E0277]: expected a `FnOnce(native_tls::Error)` closure, found `trieve_server::errors::ServiceError`
--> src/bin/crawl-worker.rs:613:21
|
612 | .tls_connector(Arc::new(native_tls::TlsConnector::new().map_err(
| ------- required by a bound introduced by this call
613 | / ServiceError::InternalServerError(
614 | | "Failed to acquire tls connection".to_string(),
615 | | ),
| |_____________________^ expected an `FnOnce(native_tls::Error)` closure, found `trieve_server::errors::ServiceError`
|
= help: the trait `FnOnce(native_tls::Error)` is not implemented for `trieve_server::errors::ServiceError`
note: required by a bound in `std::result::Result::<T, E>::map_err`
--> /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:851:5
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
Loading