pub enum ExecutionState {
Initialized,
Funded,
ConditionsMet,
}Expand description
State of escrow execution in the client.
Variants§
Initialized
Escrow object created.
Funded
Funds have been deposited; awaiting release or cancellation.
ConditionsMet
Conditions (if any) have been fulfilled; funds will be released to the recipient if the proof verifies on-chain.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for ExecutionState
impl<'__de, __Context> BorrowDecode<'__de, __Context> for ExecutionState
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
Source§fn clone(&self) -> ExecutionState
fn clone(&self) -> ExecutionState
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 Debug for ExecutionState
impl Debug for ExecutionState
Source§impl<__Context> Decode<__Context> for ExecutionState
impl<__Context> Decode<__Context> for ExecutionState
Source§impl Encode for ExecutionState
impl Encode for ExecutionState
Source§impl PartialEq for ExecutionState
impl PartialEq for ExecutionState
impl Copy for ExecutionState
impl Eq for ExecutionState
impl StructuralPartialEq for ExecutionState
Auto Trait Implementations§
impl Freeze for ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnwindSafe for ExecutionState
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