Trait 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, &mut bool);
    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, &mut bool)

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>