#[non_exhaustive]pub enum TlsChannelBindingError {
NotImplemented,
InvalidState,
NotAvailable,
NotSupported,
GeneralError,
}
v2_66
only.Expand description
An error code used with G_TLS_CHANNEL_BINDING_ERROR
in a #GError to
indicate a TLS channel binding retrieval error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotImplemented
Either entire binding retrieval facility or specific binding type is not implemented in the TLS backend.
InvalidState
The handshake is not yet complete on the connection which is a strong requirement for any existing binding type.
NotAvailable
Handshake is complete but binding data is not available. That normally indicates the TLS implementation failed to provide the binding data. For example, some implementations do not provide a peer certificate for resumed connections.
NotSupported
Binding type is not supported
on the current connection. This error could be triggered when requesting
tls-server-end-point
binding data for a certificate which has no hash
function or uses multiple hash functions.
GeneralError
Any other backend error preventing binding data retrieval.
Trait Implementations§
Source§impl Clone for TlsChannelBindingError
impl Clone for TlsChannelBindingError
Source§fn clone(&self) -> TlsChannelBindingError
fn clone(&self) -> TlsChannelBindingError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TlsChannelBindingError
impl Debug for TlsChannelBindingError
Source§impl ErrorDomain for TlsChannelBindingError
impl ErrorDomain for TlsChannelBindingError
Source§impl From<TlsChannelBindingError> for Value
impl From<TlsChannelBindingError> for Value
Source§fn from(v: TlsChannelBindingError) -> Self
fn from(v: TlsChannelBindingError) -> Self
Source§impl<'a> FromValue<'a> for TlsChannelBindingError
impl<'a> FromValue<'a> for TlsChannelBindingError
Source§type Checker = GenericValueTypeChecker<TlsChannelBindingError>
type Checker = GenericValueTypeChecker<TlsChannelBindingError>
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moreSource§impl HasParamSpec for TlsChannelBindingError
impl HasParamSpec for TlsChannelBindingError
type ParamSpec = ParamSpecEnum
Source§type SetValue = TlsChannelBindingError
type SetValue = TlsChannelBindingError
type BuilderFn = fn(_: &str, _: TlsChannelBindingError) -> ParamSpecEnumBuilder<'_, TlsChannelBindingError>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for TlsChannelBindingError
impl Hash for TlsChannelBindingError
Source§impl Ord for TlsChannelBindingError
impl Ord for TlsChannelBindingError
Source§fn cmp(&self, other: &TlsChannelBindingError) -> Ordering
fn cmp(&self, other: &TlsChannelBindingError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TlsChannelBindingError
impl PartialEq for TlsChannelBindingError
Source§impl PartialOrd for TlsChannelBindingError
impl PartialOrd for TlsChannelBindingError
Source§impl StaticType for TlsChannelBindingError
impl StaticType for TlsChannelBindingError
Source§fn static_type() -> Type
fn static_type() -> Type
Self
.Source§impl ToValue for TlsChannelBindingError
impl ToValue for TlsChannelBindingError
Source§impl ValueType for TlsChannelBindingError
impl ValueType for TlsChannelBindingError
Source§type Type = TlsChannelBindingError
type Type = TlsChannelBindingError
Type
from. Read moreimpl Copy for TlsChannelBindingError
impl Eq for TlsChannelBindingError
impl StructuralPartialEq for TlsChannelBindingError
Auto Trait Implementations§
impl Freeze for TlsChannelBindingError
impl RefUnwindSafe for TlsChannelBindingError
impl Send for TlsChannelBindingError
impl Sync for TlsChannelBindingError
impl Unpin for TlsChannelBindingError
impl UnwindSafe for TlsChannelBindingError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.