[][src]Enum gio::TlsRehandshakeMode

pub enum TlsRehandshakeMode {
    Never,
    Safely,
    Unsafely,
    // some variants omitted
}

When to allow rehandshaking. See TlsConnectionExt::set_rehandshake_mode.

Deprecated since 2.60

Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.

Variants

Never
Safely
Unsafely

Trait Implementations

impl Clone for TlsRehandshakeMode[src]

impl Copy for TlsRehandshakeMode[src]

impl Debug for TlsRehandshakeMode[src]

impl Display for TlsRehandshakeMode[src]

impl Eq for TlsRehandshakeMode[src]

impl<'a> FromValue<'a> for TlsRehandshakeMode[src]

impl<'a> FromValueOptional<'a> for TlsRehandshakeMode[src]

impl Hash for TlsRehandshakeMode[src]

impl Ord for TlsRehandshakeMode[src]

impl PartialEq<TlsRehandshakeMode> for TlsRehandshakeMode[src]

impl PartialOrd<TlsRehandshakeMode> for TlsRehandshakeMode[src]

impl SetValue for TlsRehandshakeMode[src]

impl StaticType for TlsRehandshakeMode[src]

impl StructuralEq for TlsRehandshakeMode[src]

impl StructuralPartialEq for TlsRehandshakeMode[src]

Auto Trait Implementations

impl RefUnwindSafe for TlsRehandshakeMode

impl Send for TlsRehandshakeMode

impl Sync for TlsRehandshakeMode

impl Unpin for TlsRehandshakeMode

impl UnwindSafe for TlsRehandshakeMode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.