Enum flow_sdk::sign::SignMethod [−][src]
Expand description
How to sign? This describes whether to sign using only one secret key or with multiple keys (multisign).
Variants
One(One<SecretKey>)
Use just one key for signing.
Tuple Fields of One
0: One<SecretKey>
Multi(Multi<SecretKey>)
Use multiple keys for signing.
Tuple Fields of Multi
0: Multi<SecretKey>
Implementations
Returns the primary key used when proposing a transaction.
Returns the primary key id number used when proposing a transaction.
Trait Implementations
Auto Trait Implementations
impl<SecretKey> RefUnwindSafe for SignMethod<SecretKey> where
SecretKey: RefUnwindSafe,
impl<SecretKey> Send for SignMethod<SecretKey> where
SecretKey: Send,
impl<SecretKey> Sync for SignMethod<SecretKey> where
SecretKey: Sync,
impl<SecretKey> Unpin for SignMethod<SecretKey> where
SecretKey: Unpin,
impl<SecretKey> UnwindSafe for SignMethod<SecretKey> where
SecretKey: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more