pub enum AccessKey<'a> {
App(&'a Key, u8),
Device(&'a Key),
}Expand description
Which key secures an access message.
Variants§
App(&'a Key, u8)
An application key and its AID (k4).
Device(&'a Key)
The device key of the source or destination.
Trait Implementations§
impl<'a> Copy for AccessKey<'a>
impl<'a> Eq for AccessKey<'a>
impl<'a> StructuralPartialEq for AccessKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccessKey<'a>
impl<'a> RefUnwindSafe for AccessKey<'a>
impl<'a> Send for AccessKey<'a>
impl<'a> Sync for AccessKey<'a>
impl<'a> Unpin for AccessKey<'a>
impl<'a> UnsafeUnpin for AccessKey<'a>
impl<'a> UnwindSafe for AccessKey<'a>
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