[−][src]Enum yubirs::piv::scarderr::SmartCardError
Variants
Other(String)
Methods
impl SmartCardError
[src]
pub fn new(code: LONG) -> Result<(), SmartCardError>
[src]
pub fn new_other(s: &str) -> Self
[src]
pub fn get_code(&self) -> LONG
[src]
Trait Implementations
impl Clone for SmartCardError
[src]
fn clone(&self) -> SmartCardError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SmartCardError
[src]
impl Display for SmartCardError
[src]
impl Eq for SmartCardError
[src]
impl Error for SmartCardError
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<SmartCardError> for Error
[src]
fn from(e: SmartCardError) -> Self
[src]
impl Hash for SmartCardError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SmartCardError
[src]
fn cmp(&self, other: &SmartCardError) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SmartCardError> for SmartCardError
[src]
fn eq(&self, other: &SmartCardError) -> bool
[src]
fn ne(&self, other: &SmartCardError) -> bool
[src]
impl PartialOrd<SmartCardError> for SmartCardError
[src]
fn partial_cmp(&self, other: &SmartCardError) -> Option<Ordering>
[src]
fn lt(&self, other: &SmartCardError) -> bool
[src]
fn le(&self, other: &SmartCardError) -> bool
[src]
fn gt(&self, other: &SmartCardError) -> bool
[src]
fn ge(&self, other: &SmartCardError) -> bool
[src]
impl StructuralEq for SmartCardError
[src]
impl StructuralPartialEq for SmartCardError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SmartCardError
impl Send for SmartCardError
impl Sync for SmartCardError
impl Unpin for SmartCardError
impl UnwindSafe for SmartCardError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,