Trait tls_api::TlsStreamImpl [] [src]

pub trait TlsStreamImpl<S>: Read + Write + Debug + Send + Sync + 'static {
    fn get_alpn_protocol(&self) -> Option<Vec<u8>>;
    fn shutdown(&mut self) -> Result<()>;
    fn get_mut(&mut self) -> &mut S;
}

Required Methods

Get negotiated ALPN protocol.

Implementors