Remove unknown apdu type

This commit is contained in:
Kamran Khan
2020-12-03 07:55:34 -08:00
parent 69cdd4a0dc
commit cc8bdb982d

View File

@@ -90,18 +90,11 @@ pub enum ApduType {
Instruction, Instruction,
Short(Case), Short(Case),
Extended(Case), Extended(Case),
Unknown,
}
impl Default for ApduType {
fn default() -> ApduType {
ApduType::Unknown
}
} }
#[cfg_attr(test, derive(Clone, Debug))] #[cfg_attr(test, derive(Clone, Debug))]
#[allow(dead_code)] #[allow(dead_code)]
#[derive(Default, PartialEq)] #[derive(PartialEq)]
pub struct APDU { pub struct APDU {
header: ApduHeader, header: ApduHeader,
lc: u16, lc: u16,