pub enum ALPNError {
ALPNERROR_LENGTH_ERROR,
ALPNERROR_INVALID_STRING,
}
Variants§
Trait Implementations§
§impl Enum for ALPNError
impl Enum for ALPNError
§impl EnumFull for ALPNError
impl EnumFull for ALPNError
§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<ALPNError> for ErrorCode
impl From<ALPNError> for ErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ErrorCode
.
source§impl From<ALPNError> for ProtoBasedErrorCode
impl From<ALPNError> for ProtoBasedErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ProtoBasedErrorCode
.
source§impl PartialEq<ALPNError> for ProtoBasedErrorCode
impl PartialEq<ALPNError> for ProtoBasedErrorCode
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§impl PartialEq<ProtoBasedErrorCode> for ALPNError
impl PartialEq<ProtoBasedErrorCode> for ALPNError
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 ==
.impl Copy for ALPNError
impl Eq for ALPNError
impl StructuralEq for ALPNError
impl StructuralPartialEq for ALPNError
Auto Trait Implementations§
impl RefUnwindSafe for ALPNError
impl Send for ALPNError
impl Sync for ALPNError
impl Unpin for ALPNError
impl UnwindSafe for ALPNError
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