pub enum ApduEncoding {
Short,
Extended,
}Expand description
Physical Lc/Le field widths; neither variant implies device support.
Variants§
Short
One-byte Lc/Le: at most 255 command-data bytes and Le up to 256.
Extended
Extended Lc/Le: at most 65535 command-data bytes and Le up to 65536.
Trait Implementations§
Source§impl Clone for ApduEncoding
impl Clone for ApduEncoding
Source§fn clone(&self) -> ApduEncoding
fn clone(&self) -> ApduEncoding
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 ApduEncoding
Source§impl Debug for ApduEncoding
impl Debug for ApduEncoding
impl Eq for ApduEncoding
Source§impl PartialEq for ApduEncoding
impl PartialEq for ApduEncoding
impl StructuralPartialEq for ApduEncoding
Auto Trait Implementations§
impl Freeze for ApduEncoding
impl RefUnwindSafe for ApduEncoding
impl Send for ApduEncoding
impl Sync for ApduEncoding
impl Unpin for ApduEncoding
impl UnsafeUnpin for ApduEncoding
impl UnwindSafe for ApduEncoding
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