[][src]Enum Rusty_CryptoAuthLib::constants::ATCA_ERRORS

pub enum ATCA_ERRORS {
    ConfigZoneLockedError(&'static str),
    DataZoneLockedError(&'static str),
    WakeFailedError(&'static str),
    CheckmacVerifyFailedError(&'static str),
    ParseError(&'static str),
    WatchDogAboutToExpireError(&'static str),
    CrcError(&'static str),
    StatusUnknownError(&'static str),
    EccFaultError(&'static str),
    SelfTestError(&'static str),
    HealthTestError(&'static str),
    FunctionError(&'static str),
    GenericError(&'static str),
    BadArgumentError(&'static str),
    InvalidIdentifierError(&'static str),
    InvalidSizeError(&'static str),
    BadCrcError(&'static str),
    ReceiveError(&'static str),
    NoResponseError(&'static str),
    ResyncWithWakeupError(&'static str),
    ParityError(&'static str),
    TransmissionTimeoutError(&'static str),
    ReceiveTimeoutError(&'static str),
    CommunicationError(&'static str),
    TimeOutError(&'static str),
    BadOpcodeError(&'static str),
    ExecutionError(&'static str),
    UnimplementedError,
    AssertionFailure(&'static str),
    TransmissionError(&'static str),
    ZoneNotLockedError(&'static str),
    NoDevicesFoundError(&'static str),
    NoError(&'static str),
}

Struct to hold device Usage Errors

Variants

ConfigZoneLockedError(&'static str)
DataZoneLockedError(&'static str)
WakeFailedError(&'static str)
CheckmacVerifyFailedError(&'static str)
ParseError(&'static str)
WatchDogAboutToExpireError(&'static str)
CrcError(&'static str)
StatusUnknownError(&'static str)
EccFaultError(&'static str)
SelfTestError(&'static str)
HealthTestError(&'static str)
FunctionError(&'static str)
GenericError(&'static str)
BadArgumentError(&'static str)
InvalidIdentifierError(&'static str)
InvalidSizeError(&'static str)
BadCrcError(&'static str)
ReceiveError(&'static str)
NoResponseError(&'static str)
ResyncWithWakeupError(&'static str)
ParityError(&'static str)
TransmissionTimeoutError(&'static str)
ReceiveTimeoutError(&'static str)
CommunicationError(&'static str)
TimeOutError(&'static str)
BadOpcodeError(&'static str)
ExecutionError(&'static str)
UnimplementedError
AssertionFailure(&'static str)
TransmissionError(&'static str)
ZoneNotLockedError(&'static str)
NoDevicesFoundError(&'static str)
NoError(&'static str)

Implementations

impl ATCA_ERRORS[src]

pub fn get_string_error(self) -> &'static str[src]

This method does not take any arguments. It returns an error-string describing the error.

Trait Implementations

impl Clone for ATCA_ERRORS[src]

impl Copy for ATCA_ERRORS[src]

impl Debug for ATCA_ERRORS[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.