pub struct PendingBlocks {
pub get: Option<PendingGet>,
pub set: Option<PendingSet>,
}Expand description
Block-transfer state that must survive across APDUs on the same AA.
Hosts that rebuild a RequestDispatcher per request (e.g. from a shared
object registry) should stash this on the connection and restore it before
each dispatch.
Fields§
§get: Option<PendingGet>Outstanding GET datablock delivery, if any.
set: Option<PendingSet>Outstanding SET datablock reassembly, if any.
Trait Implementations§
Source§impl Clone for PendingBlocks
impl Clone for PendingBlocks
Source§fn clone(&self) -> PendingBlocks
fn clone(&self) -> PendingBlocks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PendingBlocks
impl Debug for PendingBlocks
Source§impl Default for PendingBlocks
impl Default for PendingBlocks
Source§fn default() -> PendingBlocks
fn default() -> PendingBlocks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PendingBlocks
impl RefUnwindSafe for PendingBlocks
impl Send for PendingBlocks
impl Sync for PendingBlocks
impl Unpin for PendingBlocks
impl UnsafeUnpin for PendingBlocks
impl UnwindSafe for PendingBlocks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more