Enum passkey_types::ctap2::StatusCode
source · pub enum StatusCode {
Ctap1(U2FError),
Ctap2(Ctap2Code),
}
Expand description
Variants§
Trait Implementations§
source§impl Debug for StatusCode
impl Debug for StatusCode
source§impl From<Ctap2Code> for StatusCode
impl From<Ctap2Code> for StatusCode
source§impl From<Ctap2Error> for StatusCode
impl From<Ctap2Error> for StatusCode
source§fn from(src: Ctap2Error) -> Self
fn from(src: Ctap2Error) -> Self
Converts to this type from the input type.
source§impl From<ExtensionError> for StatusCode
impl From<ExtensionError> for StatusCode
source§fn from(src: ExtensionError) -> Self
fn from(src: ExtensionError) -> Self
Converts to this type from the input type.
source§impl From<StatusCode> for u8
impl From<StatusCode> for u8
source§fn from(src: StatusCode) -> Self
fn from(src: StatusCode) -> Self
Converts to this type from the input type.
source§impl From<U2FError> for StatusCode
impl From<U2FError> for StatusCode
source§impl From<UnknownSpecError> for StatusCode
impl From<UnknownSpecError> for StatusCode
source§fn from(src: UnknownSpecError) -> Self
fn from(src: UnknownSpecError) -> Self
Converts to this type from the input type.
source§impl From<VendorError> for StatusCode
impl From<VendorError> for StatusCode
source§fn from(src: VendorError) -> Self
fn from(src: VendorError) -> Self
Converts to this type from the input type.
source§impl From<u8> for StatusCode
impl From<u8> for StatusCode
source§impl PartialEq for StatusCode
impl PartialEq for StatusCode
source§fn eq(&self, other: &StatusCode) -> bool
fn eq(&self, other: &StatusCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StatusCode
impl StructuralEq for StatusCode
impl StructuralPartialEq for StatusCode
Auto Trait Implementations§
impl RefUnwindSafe for StatusCode
impl Send for StatusCode
impl Sync for StatusCode
impl Unpin for StatusCode
impl UnwindSafe for StatusCode
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.