pub enum SignerInteractivityContext<'a> {
Execution {
calls: &'a [Call],
},
Other,
}Expand description
Context for helping signer implementations make decisions on whether to act interactively or not, useful for signers with dynamic interactivity.
This type only exposes execution details as context, with everything else falling under the
Other variant, as it’s deemed very much pointless to act differently in those scenarios.
When an execution is requested, only the list of calls is exposed.
Variants§
Execution
An execution is being requested.
Other
A class declaration or account deployment is being requested.
Trait Implementations§
Source§impl<'a> Clone for SignerInteractivityContext<'a>
impl<'a> Clone for SignerInteractivityContext<'a>
Source§fn clone(&self) -> SignerInteractivityContext<'a>
fn clone(&self) -> SignerInteractivityContext<'a>
Returns a duplicate 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<'a> Debug for SignerInteractivityContext<'a>
impl<'a> Debug for SignerInteractivityContext<'a>
impl<'a> Copy for SignerInteractivityContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignerInteractivityContext<'a>
impl<'a> RefUnwindSafe for SignerInteractivityContext<'a>
impl<'a> Send for SignerInteractivityContext<'a>
impl<'a> Sync for SignerInteractivityContext<'a>
impl<'a> Unpin for SignerInteractivityContext<'a>
impl<'a> UnwindSafe for SignerInteractivityContext<'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