Enum ledger_mob_core::engine::Output
source · pub enum Output {
None,
State {
state: State,
digest: TxDigest,
},
WalletKeys {
account_index: u32,
spend_public: RootSpendPublic,
view_private: RootViewPrivate,
},
SubaddressKeys {
account_index: u32,
subaddress_index: u64,
spend_public: SubaddressSpendPublic,
view_private: SubaddressViewPrivate,
},
KeyImage {
account_index: u32,
subaddress_index: u64,
key_image: KeyImage,
},
RandomValue {
value: [u8; 32],
},
Identity {
public_key: [u8; 32],
signature: [u8; 64],
},
MemoHmac {
state: State,
digest: TxDigest,
hmac: [u8; 16],
},
TxKeyImage {
key_image: KeyImage,
c_zero: Scalar,
},
TxResponse {
ring_index: u8,
scalar: Scalar,
},
Pending,
}
Variants§
None
State
Engine state
WalletKeys
Wallet keys
SubaddressKeys
Subaddress keys
KeyImage
Computed key image
RandomValue
Random value
Identity
BIP-0017 derived identity and challenge
MemoHmac
HMAC for signed memo
TxKeyImage
Key image (and c_zero) from signed ring
TxResponse
Response entry from a signed ring
Pending
Indicate the device is waiting for user input
Implementations§
Trait Implementations§
source§impl PartialEq<Output> for Output
impl PartialEq<Output> for Output
source§impl PartialEq<State> for Output
impl PartialEq<State> for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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