Enum apdu_dispatch::interchanges::Contact
source · [−]Variants
Request(Data)
Response(Data)
None
Trait Implementations
sourceimpl Interchange for Contact
impl Interchange for Contact
const CLIENT_CAPACITY: usize
type REQUEST = Data
type RESPONSE = Data
sourceunsafe fn reset_claims()
unsafe fn reset_claims()
Method purely for testing - do not use in production Read more
sourcefn claim() -> Option<(Requester<Self>, Responder<Self>)>
fn claim() -> Option<(Requester<Self>, Responder<Self>)>
This is the constructor for a (Requester, Responder)
pair. Read more
sourcefn unclaimed_clients() -> usize
fn unclaimed_clients() -> usize
Method for debugging: how many allocated clients have not been claimed.
impl StructuralPartialEq for Contact
Auto Trait Implementations
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more