pub enum NoTlsSession {}Expand description
The session type of NoTls; it has no values.
Trait Implementations§
Source§impl Debug for NoTlsSession
impl Debug for NoTlsSession
Source§impl TlsSession for NoTlsSession
impl TlsSession for NoTlsSession
Source§fn step<'i>(
&mut self,
_input: &'i mut [u8],
_output: &mut [u8],
) -> Result<TlsProgress<'i>, TlsError>
fn step<'i>( &mut self, _input: &'i mut [u8], _output: &mut [u8], ) -> Result<TlsProgress<'i>, TlsError>
Source§fn on_transport_closed(&mut self) -> TlsCloseKind
fn on_transport_closed(&mut self) -> TlsCloseKind
The peer’s transport closed: was the TLS stream ended cleanly?
Source§fn info(&self) -> Option<TlsInfo>
fn info(&self) -> Option<TlsInfo>
SNI, ALPN, version, and cipher suite;
Some after the handshake.Source§fn input_capacity_required(&self) -> usize
fn input_capacity_required(&self) -> usize
The smallest input buffer the session needs now.
Auto Trait Implementations§
impl Freeze for NoTlsSession
impl RefUnwindSafe for NoTlsSession
impl Send for NoTlsSession
impl Sync for NoTlsSession
impl Unpin for NoTlsSession
impl UnsafeUnpin for NoTlsSession
impl UnwindSafe for NoTlsSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more