[][src]Enum scannit_core::desfire::Response

pub enum Response {
    Ok,
    Error,
    MoreData,
}

Possible DESFire responses to APDU command from the HSL card.

Variants

Ok

DESFire OPERATION_OK response.

Error

DESFire error response. Not sure what it's known as internally.

MoreData

DESFire ADDTIONAL_FRAME response. Indicates that there is more data, if the caller would like to ask for it.

Trait Implementations

impl<'_> Into<&'_ [u8]> for Response[src]

impl Clone for Response[src]

impl Copy for Response[src]

impl PartialEq<Response> for [u8][src]

impl<'_> PartialEq<Response> for &'_ [u8][src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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