#[non_exhaustive]pub enum InterruptKind {
Untrusted,
OwnerApproval(OwnerApprovalRequest),
}Expand description
Who an interruption is waiting for.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Untrusted
A check of a call made after the run read untrusted content (and, for interruptions saved before kinds existed, any interruption).
OwnerApproval(OwnerApprovalRequest)
The owner must approve the call.
Trait Implementations§
Source§impl Clone for InterruptKind
impl Clone for InterruptKind
Source§impl Debug for InterruptKind
impl Debug for InterruptKind
Source§impl Default for InterruptKind
impl Default for InterruptKind
Source§impl<'de> Deserialize<'de> for InterruptKind
impl<'de> Deserialize<'de> for InterruptKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InterruptKind
impl PartialEq for InterruptKind
Source§impl Serialize for InterruptKind
impl Serialize for InterruptKind
impl StructuralPartialEq for InterruptKind
Auto Trait Implementations§
impl Forget for InterruptKind
impl Freeze for InterruptKind
impl Move for InterruptKind
impl RefUnwindSafe for InterruptKind
impl Send for InterruptKind
impl Sync for InterruptKind
impl Unpin for InterruptKind
impl UnsafeUnpin for InterruptKind
impl UnwindSafe for InterruptKind
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