pub enum Command {
GetVersion,
GetApplicationIds,
SelectHsl,
ReadAppInfo,
ReadControlInfo,
ReadPeriodPass,
ReadStoredValue,
ReadETicket,
ReadHistory,
ReadNext,
}
Expand description
A DESFire APDU command that the HSL card accepts.
Variants§
GetVersion
DESFire GetVersion command.
GetApplicationIds
DESFire command to return all installed application IDs on the card.
SelectHsl
DESFire Select Application command for selecting the HSL application on the card. Returns OkResponse on success.
ReadAppInfo
Command to read app info file, which contains application version, card name, etc.
ReadControlInfo
Command to read the control info file from the card.
ReadPeriodPass
Command to read the season pass file on the card.
ReadStoredValue
Command to read the stored value on the card.
ReadETicket
Command to read the active eTicket on the card.
ReadHistory
Command to read the 8 most recent transactions on the card.
ReadNext
Reads the remaining bytes-to-be-sent if a read request returned a MoreData response.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more