quinn: Fix Nightly mismatched_lifetime_syntaxes

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2291>
This commit is contained in:
L. E. Segovia 2025-06-12 19:05:01 -03:00
parent eb91bd7bf4
commit c74d859490
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ impl QuinnQuicMeta {
buffer: &mut gst::BufferRef,
stream_id: u64,
is_datagram: bool,
) -> gst::MetaRefMut<Self, gst::meta::Standalone> {
) -> gst::MetaRefMut<'_, Self, gst::meta::Standalone> {
unsafe {
let mut params = mem::ManuallyDrop::new(imp::QuinnQuicMetaParams {
stream_id,

View file

@ -344,7 +344,7 @@ fn read_private_key_from_file(
fn configure_server(
ep_config: &QuinnQuicEndpointConfig,
) -> Result<(ServerConfig, Vec<rustls_pki_types::CertificateDer>), Box<dyn Error>> {
) -> Result<(ServerConfig, Vec<rustls_pki_types::CertificateDer<'_>>), Box<dyn Error>> {
let (certs, key) = if ep_config.secure_conn {
(
read_certs_from_file(ep_config.certificate_file.clone())?,