#![no_std]
pub use heapless::VecView;
pub use iso7816::{command::CommandView, Interface};
pub type Result = iso7816::Result<()>;
pub trait App: iso7816::App {
fn select(
&mut self,
interface: Interface,
apdu: CommandView<'_>,
reply: &mut VecView<u8>,
) -> Result;
fn deselect(&mut self);
fn call(
&mut self,
interface: Interface,
apdu: CommandView<'_>,
reply: &mut VecView<u8>,
) -> Result;
}