Closed
Description
[INFO] [stdout] error[E0310]: the parameter type `S` may not live long enough
[INFO] [stdout] --> src/uplink/ingest.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 20 | / tonic::transport::Server::builder()
[INFO] [stdout] 21 | | .add_service(PacketServer::new(Gateways::new(sender)))
[INFO] [stdout] | |______________________________________________________________^ ...so that the type `S` will meet its required lifetime bounds
[INFO] [stdout] |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout] |
[INFO] [stdout] 19 | pub async fn start<S: UplinkIngest + Clone + 'static>(sender: S, addr: SocketAddr) -> Result {
[INFO] [stdout] | +++++++++