INNER CODE UNIT · Rust
state
google/OpenSK · libraries/opensk/src/lib.rs:80
pub fn state(&mut self) -> &mut CtapState<E> {
&mut self.state
}
pub fn env(&mut self) -> &mut E {
&mut self.env
}
pub fn process_hid_packet(
&mut self,
packet: &HidPacket,
transport: Transport,
) -> HidPacketIterator {
match transport {
Transport::MainHid => {
#[cfg(not(feature = "vendor_hid"))]
let is_disabled = false;
#[cfg(feature = "vendor_hid")]