Trait bonsaidb::server::ApplicationProtocols[][src]

pub trait ApplicationProtocols: Clone + Debug + Send + Sync {
    fn alpn_name(&self) -> &'static [u8]
Notable traits for &'_ [u8]
impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [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