Trait tokio_rustls::common::handshake::IoSession

source ·
pub(crate) trait IoSession {
    type Io;
    type Session;

    // Required methods
    fn skip_handshake(&self) -> bool;
    fn get_mut(&mut self) -> (&mut TlsState, &mut Self::Io, &mut Self::Session);
    fn into_io(self) -> Self::Io;
}

Required Associated Types§

Required Methods§

source

fn skip_handshake(&self) -> bool

source

fn get_mut(&mut self) -> (&mut TlsState, &mut Self::Io, &mut Self::Session)

source

fn into_io(self) -> Self::Io

Implementors§

source§

impl<IO> IoSession for tokio_rustls::client::TlsStream<IO>

source§

impl<IO> IoSession for tokio_rustls::server::TlsStream<IO>