pub struct ApduHeader {
pub cla: u8,
pub ins: u8,
pub p1: u8,
pub p2: u8,
}Expand description
Four-byte command header, without Lc, data, or Le.
Fields§
§cla: u8Class byte, including any application-selected channel/chaining bits.
ins: u8Instruction byte.
p1: u8First instruction parameter.
p2: u8Second instruction parameter.
Implementations§
Trait Implementations§
Source§impl Clone for ApduHeader
impl Clone for ApduHeader
Source§fn clone(&self) -> ApduHeader
fn clone(&self) -> ApduHeader
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 moreimpl Copy for ApduHeader
Source§impl Debug for ApduHeader
impl Debug for ApduHeader
impl Eq for ApduHeader
Source§impl PartialEq for ApduHeader
impl PartialEq for ApduHeader
impl StructuralPartialEq for ApduHeader
Auto Trait Implementations§
impl Freeze for ApduHeader
impl RefUnwindSafe for ApduHeader
impl Send for ApduHeader
impl Sync for ApduHeader
impl Unpin for ApduHeader
impl UnsafeUnpin for ApduHeader
impl UnwindSafe for ApduHeader
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