Remove unknown apdu type
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user