pub struct Transaction<'a> { /* private fields */ }Expand description
State of an OpenPGP card once a transaction has been started.
The cards is in its base state, base authorization applies. Card-Operations that don’t require PIN validation can be performed in this state. This includes many read-operations from the card.
(Note that a factory-reset can be performed in this base state.)
Trait Implementations§
impl State for Transaction<'_>
Auto Trait Implementations§
impl<'a> Freeze for Transaction<'a>
impl<'a> !RefUnwindSafe for Transaction<'a>
impl<'a> Send for Transaction<'a>
impl<'a> Sync for Transaction<'a>
impl<'a> Unpin for Transaction<'a>
impl<'a> !UnwindSafe for Transaction<'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