Enum ledger_mob_apdu::state::TxState
source · #[repr(u8)]pub enum TxState {
Show 20 variants
Init,
SignMemos,
SetMessage,
SummaryInit,
SummaryAddTxOut,
SummaryAddTxIn,
SummaryReady,
SummaryComplete,
Pending,
Ready,
RingInit,
RingBuild,
RingSign,
RingComplete,
TxComplete,
TxDenied,
IdentPending,
IdentApproved,
IdentDenied,
Error,
}
Expand description
Engine state enumeration used in crate::tx::TxInfo to communicate transaction progress
Variants§
Init
SignMemos
SetMessage
SummaryInit
SummaryAddTxOut
SummaryAddTxIn
SummaryReady
SummaryComplete
Pending
Ready
RingInit
RingBuild
RingSign
RingComplete
TxComplete
TxDenied
IdentPending
IdentApproved
IdentDenied
Error
Trait Implementations§
source§impl IntoEnumIterator for TxState
impl IntoEnumIterator for TxState
type Iterator = TxStateIter
fn iter() -> TxStateIter ⓘ
source§impl PartialEq<TxState> for TxState
impl PartialEq<TxState> for TxState
impl Copy for TxState
impl StructuralPartialEq for TxState
Auto Trait Implementations§
impl RefUnwindSafe for TxState
impl Send for TxState
impl Sync for TxState
impl Unpin for TxState
impl UnwindSafe for TxState
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
§impl<'a, T> Decode<'a> for Twhere
T: DecodeOwned,
impl<'a, T> Decode<'a> for Twhere T: DecodeOwned,
§impl<'a, T> DecodeExt<'a> for Twhere
T: Decode<'a>,
impl<'a, T> DecodeExt<'a> for Twhere T: Decode<'a>,
§fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
Helper to iterate over decodable objects in a sized buffer. Read more