pub struct NullTlsDriver;Trait Implementations§
Source§impl Default for NullTlsDriver
impl Default for NullTlsDriver
Source§fn default() -> NullTlsDriver
fn default() -> NullTlsDriver
Returns the “default value” for a type. Read more
Source§impl TlsDriver for NullTlsDriver
impl TlsDriver for NullTlsDriver
type Stream = TokioStream
type ClientParams = ()
type ServerParams = ()
fn init_client( params: &TlsParameters, name: Option<ServerName<'_>>, ) -> Result<Self::ClientParams, SslError>
fn init_server( params: &TlsServerParameters, ) -> Result<Self::ServerParams, SslError>
async fn upgrade_client<S: Stream>( params: Self::ClientParams, stream: S, ) -> Result<(Self::Stream, TlsHandshake), SslError>
async fn upgrade_server<S: Stream>( params: TlsServerParameterProvider, stream: S, ) -> Result<(Self::Stream, TlsHandshake), SslError>
Auto Trait Implementations§
impl Freeze for NullTlsDriver
impl RefUnwindSafe for NullTlsDriver
impl Send for NullTlsDriver
impl Sync for NullTlsDriver
impl Unpin for NullTlsDriver
impl UnwindSafe for NullTlsDriver
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