Skip to main content

ExpectTlsFree

Trait ExpectTlsFree 

pub trait ExpectTlsFree {
    type Unwrapped;

    // Required method
    fn expect_notls(self, msg: &str) -> Self::Unwrapped;
}

Required Associated Types§

Required Methods§

fn expect_notls(self, msg: &str) -> Self::Unwrapped

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl<T> ExpectTlsFree for Option<T>

§

type Unwrapped = T

§

fn expect_notls(self, msg: &str) -> T

§

impl<T, E> ExpectTlsFree for Result<T, E>
where E: Debug,

§

type Unwrapped = T

§

fn expect_notls(self, msg: &str) -> T

Implementors§