Enum bloss_native::card::CardErrorWrapper
source · pub enum CardErrorWrapper {
AIDParseError(String),
CardNotFound(String),
InternalError(String),
SigningKeyNotFound,
InvalidPin,
TouchConfirmationTimeout,
}Variants§
AIDParseError(String)
CardNotFound(String)
InternalError(String)
SigningKeyNotFound
InvalidPin
TouchConfirmationTimeout
Trait Implementations§
source§impl Clone for CardErrorWrapper
impl Clone for CardErrorWrapper
source§fn clone(&self) -> CardErrorWrapper
fn clone(&self) -> CardErrorWrapper
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CardErrorWrapper
impl Debug for CardErrorWrapper
source§impl<'de> Deserialize<'de> for CardErrorWrapper
impl<'de> Deserialize<'de> for CardErrorWrapper
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CardErrorWrapper
impl Display for CardErrorWrapper
source§impl Error for CardErrorWrapper
impl Error for CardErrorWrapper
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for CardErrorWrapper
impl From<Error> for CardErrorWrapper
source§fn from(e: OpenpgpCardError) -> Self
fn from(e: OpenpgpCardError) -> Self
Converts to this type from the input type.
source§impl PartialEq<CardErrorWrapper> for CardErrorWrapper
impl PartialEq<CardErrorWrapper> for CardErrorWrapper
source§fn eq(&self, other: &CardErrorWrapper) -> bool
fn eq(&self, other: &CardErrorWrapper) -> bool
This method tests for
self and other values to be equal, and is used
by ==.