Enum sandwich::pb::TLSConfigurationError
pub enum TLSConfigurationError {
TLSCONFIGURATIONERROR_UNSUPPORTED_IMPLEMENTATION,
TLSCONFIGURATIONERROR_INVALID_CASE,
TLSCONFIGURATIONERROR_EMPTY,
TLSCONFIGURATIONERROR_UNSUPPORTED_PROTOCOL_VERSION,
TLSCONFIGURATIONERROR_PRIVATE_KEY_INCONSISTENT_WITH_CERTIFICATE,
TLSCONFIGURATIONERROR_UNSUPPORTED_CIPHERSUITE,
TLSCONFIGURATIONERROR_UNSUPPORTED_CONTROL_CHARACTERS,
TLSCONFIGURATIONERROR_INVALID,
}
Variants§
TLSCONFIGURATIONERROR_UNSUPPORTED_IMPLEMENTATION
TLSCONFIGURATIONERROR_INVALID_CASE
TLSCONFIGURATIONERROR_EMPTY
TLSCONFIGURATIONERROR_UNSUPPORTED_PROTOCOL_VERSION
TLSCONFIGURATIONERROR_PRIVATE_KEY_INCONSISTENT_WITH_CERTIFICATE
TLSCONFIGURATIONERROR_UNSUPPORTED_CIPHERSUITE
TLSCONFIGURATIONERROR_UNSUPPORTED_CONTROL_CHARACTERS
TLSCONFIGURATIONERROR_INVALID
Trait Implementations§
§impl Clone for TLSConfigurationError
impl Clone for TLSConfigurationError
§fn clone(&self) -> TLSConfigurationError
fn clone(&self) -> TLSConfigurationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for TLSConfigurationError
impl Debug for TLSConfigurationError
§impl Default for TLSConfigurationError
impl Default for TLSConfigurationError
§fn default() -> TLSConfigurationError
fn default() -> TLSConfigurationError
Returns the “default value” for a type. Read more
§impl Enum for TLSConfigurationError
impl Enum for TLSConfigurationError
§fn from_i32(value: i32) -> Option<TLSConfigurationError>
fn from_i32(value: i32) -> Option<TLSConfigurationError>
Try to create an enum from
i32
value.
Return None
if value is unknown.§fn from_str(str: &str) -> Option<TLSConfigurationError>
fn from_str(str: &str) -> Option<TLSConfigurationError>
Try to create an enum from
&str
value.
Return None
if str is unknown.§const VALUES: &'static [TLSConfigurationError] = _
const VALUES: &'static [TLSConfigurationError] = _
All enum values for enum type.
§impl EnumFull for TLSConfigurationError
impl EnumFull for TLSConfigurationError
§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl From<TLSConfigurationError> for ErrorCode
impl From<TLSConfigurationError> for ErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ErrorCode
.
source§fn from(v: TLSConfigurationError) -> Self
fn from(v: TLSConfigurationError) -> Self
Converts to this type from the input type.
source§impl From<TLSConfigurationError> for ProtoBasedErrorCode
impl From<TLSConfigurationError> for ProtoBasedErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ProtoBasedErrorCode
.
source§fn from(v: TLSConfigurationError) -> Self
fn from(v: TLSConfigurationError) -> Self
Converts to this type from the input type.
§impl Hash for TLSConfigurationError
impl Hash for TLSConfigurationError
source§impl PartialEq<ProtoBasedErrorCode> for TLSConfigurationError
impl PartialEq<ProtoBasedErrorCode> for TLSConfigurationError
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§fn eq(&self, other: &ProtoBasedErrorCode) -> bool
fn eq(&self, other: &ProtoBasedErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<TLSConfigurationError> for ProtoBasedErrorCode
impl PartialEq<TLSConfigurationError> for ProtoBasedErrorCode
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§fn eq(&self, other: &TLSConfigurationError) -> bool
fn eq(&self, other: &TLSConfigurationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialEq<TLSConfigurationError> for TLSConfigurationError
impl PartialEq<TLSConfigurationError> for TLSConfigurationError
§fn eq(&self, other: &TLSConfigurationError) -> bool
fn eq(&self, other: &TLSConfigurationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TLSConfigurationError
impl Eq for TLSConfigurationError
impl StructuralEq for TLSConfigurationError
impl StructuralPartialEq for TLSConfigurationError
Auto Trait Implementations§
impl RefUnwindSafe for TLSConfigurationError
impl Send for TLSConfigurationError
impl Sync for TLSConfigurationError
impl Unpin for TLSConfigurationError
impl UnwindSafe for TLSConfigurationError
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