[][src]Trait tls_api::TlsStreamImpl

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;
fn get_ref(&self) -> &S; }

Required methods

fn get_alpn_protocol(&self) -> Option<Vec<u8>>

Get negotiated ALPN protocol.

fn shutdown(&mut self) -> Result<()>

fn get_mut(&mut self) -> &mut S

fn get_ref(&self) -> &S

Loading content...

Implementors

Loading content...