pub enum ExecutionResult {
Success(ExecutionState),
Failure,
}Expand description
Outcome of escrow execution as committed to the public journal.
Variants§
Success(ExecutionState)
Conditions were satisfied; the escrow reached the given terminal state.
Failure
Execution failed; funds must not be released.
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§fn clone(&self) -> ExecutionResult
fn clone(&self) -> ExecutionResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecutionResult
Source§impl Debug for ExecutionResult
impl Debug for ExecutionResult
impl Eq for ExecutionResult
Source§impl PartialEq for ExecutionResult
impl PartialEq for ExecutionResult
Source§fn eq(&self, other: &ExecutionResult) -> bool
fn eq(&self, other: &ExecutionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionResult
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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