bump deps
This commit is contained in:
parent
7f24217b64
commit
f2404e79e1
6 changed files with 39 additions and 29 deletions
|
@ -191,4 +191,4 @@ impl RuntimeProvider for TokioRuntimeProviderWithSoMark {
|
|||
|
||||
Box::pin(socket)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1316,4 +1316,4 @@ async fn main() {
|
|||
}
|
||||
|
||||
tokio::signal::ctrl_c().await.unwrap();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -152,7 +152,8 @@ impl UdpStream {
|
|||
keys_to_delete,
|
||||
};
|
||||
|
||||
let pending_notification = unsafe { std::mem::transmute(s.io.has_data_to_read.notified()) };
|
||||
let pending_notification =
|
||||
unsafe { std::mem::transmute::<Notified<'_>, Notified<'static>>(s.io.has_data_to_read.notified()) };
|
||||
s.pending_notification = Some(pending_notification);
|
||||
|
||||
(s, io)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue