pub enum ErrorKind {
Show 15 variants
ERRORKIND_API,
ERRORKIND_CONFIGURATION,
ERRORKIND_TLS_CONFIGURATION,
ERRORKIND_CERTIFICATE,
ERRORKIND_SYSTEM,
ERRORKIND_SOCKET,
ERRORKIND_PROTOBUF,
ERRORKIND_PRIVATE_KEY,
ERRORKIND_ASN1,
ERRORKIND_DATA_SOURCE,
ERRORKIND_KEM,
ERRORKIND_HANDSHAKE,
ERRORKIND_TUNNEL,
ERRORKIND_ALPN,
ERRORKIND_IO,
}
Variants§
ERRORKIND_API
ERRORKIND_CONFIGURATION
ERRORKIND_TLS_CONFIGURATION
ERRORKIND_CERTIFICATE
ERRORKIND_SYSTEM
ERRORKIND_SOCKET
ERRORKIND_PROTOBUF
ERRORKIND_PRIVATE_KEY
ERRORKIND_ASN1
ERRORKIND_DATA_SOURCE
ERRORKIND_KEM
ERRORKIND_HANDSHAKE
ERRORKIND_TUNNEL
ERRORKIND_ALPN
ERRORKIND_IO
Trait Implementations§
§impl Enum for ErrorKind
impl Enum for ErrorKind
§impl EnumFull for ErrorKind
impl EnumFull for ErrorKind
§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<&ProtoBasedErrorCode> for ErrorKind
impl From<&ProtoBasedErrorCode> for ErrorKind
Implements Into<sandwich_proto::ErrorKind>
for ProtoBasedErrorCode
.
source§fn from(ec: &ProtoBasedErrorCode) -> Self
fn from(ec: &ProtoBasedErrorCode) -> Self
Converts to this type from the input type.
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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