Enum ledger_mob_apdu::Instruction
source · #[repr(u8)]pub enum Instruction {
Show 23 variants
GetAppInfo,
GetWalletKeys,
GetSubaddressKeys,
GetKeyImage,
GetRandom,
IdentSignReq,
IdentGetReq,
TxInit,
TxMemoSign,
TxSetMessage,
TxSummaryInit,
TxSummaryAddTxOut,
TxSummaryAddTxOutUnblinding,
TxSummaryAddTxIn,
TxSummaryBuild,
TxRingInit,
TxSetBlinding,
TxAddTxOut,
TxSign,
TxGetKeyImage,
TxGetResponse,
TxComplete,
TxGetInfo,
}
Expand description
MobileCoin APDU instruction codes
Variants§
GetAppInfo
GetWalletKeys
Fetch wallet keys
GetSubaddressKeys
Fetch keys for a specific subaddress
GetKeyImage
Request a key image
GetRandom
Fetch a random value
IdentSignReq
Issue SLIP-0017 ED25519 identity request
IdentGetReq
Fetched signed identity following approval
TxInit
Initialise a transaction
TxMemoSign
Sign a memo
TxSetMessage
Set message for signing
TxSummaryInit
Start building TX summary
TxSummaryAddTxOut
Add TxOut to summary
TxSummaryAddTxOutUnblinding
Add TxOut unblinding to summary
TxSummaryAddTxIn
Add TxIn to summary
TxSummaryBuild
Build Tx summary
TxRingInit
Start a ring signing operation
TxSetBlinding
Set blinding factors
TxAddTxOut
Add TxOuts to ring
TxSign
Sign ring
TxGetKeyImage
Fetch key image for a signed ring
TxGetResponse
Fetch a response for a given ring entry in the signed ring
TxComplete
Complete a transaction
TxGetInfo
Fetch transaction state
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Instruction
impl Debug for Instruction
source§impl PartialEq<Instruction> for Instruction
impl PartialEq<Instruction> for Instruction
source§fn eq(&self, other: &Instruction) -> bool
fn eq(&self, other: &Instruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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