pub enum SetResponse {
Normal {
invoke_id_and_priority: u8,
result: u8,
},
Datablock {
invoke_id_and_priority: u8,
block_number: u32,
},
LastDatablock {
invoke_id_and_priority: u8,
result: u8,
block_number: u32,
},
WithList {
invoke_id_and_priority: u8,
results: Vec<u8>,
},
}Expand description
A SET-Response APDU.
Variants§
Normal
SET-RESPONSE-NORMAL: carries a single data-access-result code.
Fields
Datablock
SET-RESPONSE-DATABLOCK: acknowledges reception of an intermediate block.
Fields
LastDatablock
SET-RESPONSE-LAST-DATABLOCK: acknowledges the last block and delivers the result.
Fields
WithList
SET-RESPONSE-WITH-LIST: one data-access-result code per written attribute.
Implementations§
Source§impl SetResponse
impl SetResponse
Trait Implementations§
Source§impl Clone for SetResponse
impl Clone for SetResponse
Source§fn clone(&self) -> SetResponse
fn clone(&self) -> SetResponse
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 SetResponse
impl Debug for SetResponse
Source§impl PartialEq for SetResponse
impl PartialEq for SetResponse
impl StructuralPartialEq for SetResponse
Auto Trait Implementations§
impl Freeze for SetResponse
impl RefUnwindSafe for SetResponse
impl Send for SetResponse
impl Sync for SetResponse
impl Unpin for SetResponse
impl UnsafeUnpin for SetResponse
impl UnwindSafe for SetResponse
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