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; fn get_ref(&self) -> &S; }
Required Methods
fn get_alpn_protocol(&self) -> Option<Vec<u8>>
Get negotiated ALPN protocol.