pub struct Alpn { /* private fields */ }
Expand description
Application-Layer Protocol Negotiation (ALPN). It is a byte sequence defining the upper layer protocol in use over the connection. The most common use case will be to pass the exact copy of the ALPN extension of the Transport Layer Security (TLS) protocol as defined by RFC7301 [9].
Implementations§
Trait Implementations§
impl Eq for Alpn
impl StructuralPartialEq for Alpn
Auto Trait Implementations§
impl Freeze for Alpn
impl RefUnwindSafe for Alpn
impl Send for Alpn
impl Sync for Alpn
impl Unpin for Alpn
impl UnwindSafe for Alpn
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