pub enum ExecMode {
Internal,
External,
}Expand description
Where an action executes; dictates the schema its Result must use.
Variants§
Internal
In-process execution; the Result must not use the external-receipt schema.
External
External execution; the Result must carry
bellbook.result.external_receipt.v1 (base evidence Verified),
else ExternalReceiptRequired.
Trait Implementations§
impl Copy for ExecMode
Source§impl<'de> Deserialize<'de> for ExecMode
impl<'de> Deserialize<'de> for ExecMode
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
impl Eq for ExecMode
Source§impl Ord for ExecMode
impl Ord for ExecMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ExecMode
impl PartialOrd for ExecMode
impl StructuralPartialEq for ExecMode
Auto Trait Implementations§
impl Freeze for ExecMode
impl RefUnwindSafe for ExecMode
impl Send for ExecMode
impl Sync for ExecMode
impl Unpin for ExecMode
impl UnsafeUnpin for ExecMode
impl UnwindSafe for ExecMode
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