-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Closed
Labels
P-highHigh priorityHigh priorityT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.disposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
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] | +++++++++
Metadata
Metadata
Assignees
Labels
P-highHigh priorityHigh priorityT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.disposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.