Enum TlsError

enum TlsError

TLS errors.

Note that even if you enable only the rustls-based TLS support, the error at runtime could still be Native, as another crate in the dependency graph may enable native TLS support.

Implementations

impl Debug for TlsError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for TlsError

fn fmt(self: &Self, __formatter: &mut Formatter<'_>) -> Result

impl Error for TlsError

impl Freeze for TlsError

impl RefUnwindSafe for TlsError

impl Send for TlsError

impl Sync for TlsError

impl Unpin for TlsError

impl UnsafeUnpin for TlsError

impl UnwindSafe for TlsError

impl<T> Any for TlsError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TlsError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TlsError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for TlsError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for TlsError

impl<T> ToString for TlsError

fn to_string(self: &Self) -> String

impl<T, U> Into for TlsError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for TlsError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TlsError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for TlsError

fn vzip(self: Self) -> V