mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 18:23:49 +00:00
quinn: Fix Nightly mismatched_lifetime_syntaxes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2291>
This commit is contained in:
parent
eb91bd7bf4
commit
c74d859490
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ impl QuinnQuicMeta {
|
||||||
buffer: &mut gst::BufferRef,
|
buffer: &mut gst::BufferRef,
|
||||||
stream_id: u64,
|
stream_id: u64,
|
||||||
is_datagram: bool,
|
is_datagram: bool,
|
||||||
) -> gst::MetaRefMut<Self, gst::meta::Standalone> {
|
) -> gst::MetaRefMut<'_, Self, gst::meta::Standalone> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut params = mem::ManuallyDrop::new(imp::QuinnQuicMetaParams {
|
let mut params = mem::ManuallyDrop::new(imp::QuinnQuicMetaParams {
|
||||||
stream_id,
|
stream_id,
|
||||||
|
|
|
@ -344,7 +344,7 @@ fn read_private_key_from_file(
|
||||||
|
|
||||||
fn configure_server(
|
fn configure_server(
|
||||||
ep_config: &QuinnQuicEndpointConfig,
|
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 {
|
let (certs, key) = if ep_config.secure_conn {
|
||||||
(
|
(
|
||||||
read_certs_from_file(ep_config.certificate_file.clone())?,
|
read_certs_from_file(ep_config.certificate_file.clone())?,
|
||||||
|
|
Loading…
Reference in a new issue