Enum ctap::FidoErrorKind
source · pub enum FidoErrorKind {
Show 16 variants
Io,
ReadPacket,
WritePacket,
ParseCtap,
CborEncode,
CborDecode,
InvalidSequence,
GenerateKey,
GenerateSecret,
ParsePublic,
EncryptPin,
DecryptPin,
KeyType,
CborError(u8),
DeviceUnsupported,
PinRequired,
}
Variants
Io
ReadPacket
WritePacket
ParseCtap
CborEncode
CborDecode
InvalidSequence
GenerateKey
GenerateSecret
ParsePublic
EncryptPin
DecryptPin
KeyType
CborError(u8)
DeviceUnsupported
PinRequired
Trait Implementations
sourceimpl Clone for FidoErrorKind
impl Clone for FidoErrorKind
sourcefn clone(&self) -> FidoErrorKind
fn clone(&self) -> FidoErrorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FidoErrorKind
impl Debug for FidoErrorKind
sourceimpl Display for FidoErrorKind
impl Display for FidoErrorKind
sourceimpl Fail for FidoErrorKind
impl Fail for FidoErrorKind
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<FidoErrorKind> for FidoError
impl From<FidoErrorKind> for FidoError
sourcefn from(kind: FidoErrorKind) -> FidoError
fn from(kind: FidoErrorKind) -> FidoError
Converts to this type from the input type.
sourceimpl PartialEq<FidoErrorKind> for FidoErrorKind
impl PartialEq<FidoErrorKind> for FidoErrorKind
sourcefn eq(&self, other: &FidoErrorKind) -> bool
fn eq(&self, other: &FidoErrorKind) -> bool
impl Copy for FidoErrorKind
impl Eq for FidoErrorKind
impl StructuralEq for FidoErrorKind
impl StructuralPartialEq for FidoErrorKind
Auto Trait Implementations
impl RefUnwindSafe for FidoErrorKind
impl Send for FidoErrorKind
impl Sync for FidoErrorKind
impl Unpin for FidoErrorKind
impl UnwindSafe for FidoErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more