pub trait ApplicationProtocols: Clone + Debug + Send + Sync {
    fn alpn_name(&self) -> &'static [u8]Notable traits for &'_ mut [u8]impl Write for &'_ mut [u8]impl Read for &'_ [u8];
}
Expand description

A collection of supported protocols for a network service.

Required methods

Returns the identifier to use in ALPN during TLS negotiation.

Implementors