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
impl Eq for StatusCode
impl StructuralPartialEq for StatusCode
Auto Trait Implementations§
impl Freeze for StatusCode
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.