pub enum SwapSagaState {
SetupComplete,
Signed,
}Expand description
States specific to swap saga
Variants§
SetupComplete
Swap setup complete (proofs added, blinded messages added)
Signed
Outputs signed (signatures generated but not persisted)
Trait Implementations§
Source§impl Clone for SwapSagaState
impl Clone for SwapSagaState
Source§fn clone(&self) -> SwapSagaState
fn clone(&self) -> SwapSagaState
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 SwapSagaState
impl Debug for SwapSagaState
Source§impl<'de> Deserialize<'de> for SwapSagaState
impl<'de> Deserialize<'de> for SwapSagaState
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 Display for SwapSagaState
impl Display for SwapSagaState
Source§impl FromStr for SwapSagaState
impl FromStr for SwapSagaState
Source§impl PartialEq for SwapSagaState
impl PartialEq for SwapSagaState
Source§impl Serialize for SwapSagaState
impl Serialize for SwapSagaState
impl Eq for SwapSagaState
impl StructuralPartialEq for SwapSagaState
Auto Trait Implementations§
impl Freeze for SwapSagaState
impl RefUnwindSafe for SwapSagaState
impl Send for SwapSagaState
impl Sync for SwapSagaState
impl Unpin for SwapSagaState
impl UnwindSafe for SwapSagaState
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