Enum apdu_dispatch::interchanges::Contactless
source · pub enum Contactless {
Request(Data),
Response(Data),
None,
}Variants§
Trait Implementations§
source§impl Clone for Contactless
impl Clone for Contactless
source§fn clone(&self) -> Contactless
fn clone(&self) -> Contactless
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Contactless
impl Debug for Contactless
source§impl Interchange for Contactless
impl Interchange for Contactless
const CLIENT_CAPACITY: usize = 1usize
type REQUEST = Vec<u8, SIZE>
type RESPONSE = Vec<u8, SIZE>
source§unsafe fn reset_claims()
unsafe fn reset_claims()
Method purely for testing - do not use in production Read more
source§fn claim() -> Option<(Requester<Self>, Responder<Self>)>
fn claim() -> Option<(Requester<Self>, Responder<Self>)>
This is the constructor for a
(Requester, Responder) pair. Read moresource§fn unclaimed_clients() -> usize
fn unclaimed_clients() -> usize
Method for debugging: how many allocated clients have not been claimed.
source§impl PartialEq<Contactless> for Contactless
impl PartialEq<Contactless> for Contactless
source§fn eq(&self, other: &Contactless) -> bool
fn eq(&self, other: &Contactless) -> bool
This method tests for
self and other values to be equal, and is used
by ==.