pub struct ListenerConfig {
pub bind_addr: SocketAddr,
pub cert_chain: Vec<CertificateDer<'static>>,
pub key_der: PrivateKeyDer<'static>,
pub alpn: Vec<Vec<u8>>,
}Expand description
Configuration for the proxy’s QUIC listener.
Fields§
§bind_addr: SocketAddrAddress to bind to (e.g., "0.0.0.0:4443").
cert_chain: Vec<CertificateDer<'static>>TLS certificate chain (DER-encoded).
key_der: PrivateKeyDer<'static>TLS private key (DER-encoded).
alpn: Vec<Vec<u8>>ALPN protocols to accept. Defaults to [b"moq-00"].
Auto Trait Implementations§
impl Freeze for ListenerConfig
impl RefUnwindSafe for ListenerConfig
impl Send for ListenerConfig
impl Sync for ListenerConfig
impl Unpin for ListenerConfig
impl UnsafeUnpin for ListenerConfig
impl UnwindSafe for ListenerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more