pub trait Handler: HandlerInCtx<()> {
// Provided method
fn handle(&self, command: &[u8], response: &mut [u8]) -> Result { ... }
}Expand description
An handler to handle an APDU command and receive a response
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".