pub enum SendSagaState {
ProofsReserved,
TokenCreated,
RollingBack,
}Expand description
States specific to send saga
Variants§
ProofsReserved
Proofs selected and reserved for sending, ready to create token
TokenCreated
Token created and ready to share, proofs marked as pending spent awaiting claim
RollingBack
Rollback in progress, reclaiming proofs via swap (transient state)
Trait Implementations§
Source§impl Clone for SendSagaState
impl Clone for SendSagaState
Source§fn clone(&self) -> SendSagaState
fn clone(&self) -> SendSagaState
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 SendSagaState
impl Debug for SendSagaState
Source§impl<'de> Deserialize<'de> for SendSagaState
impl<'de> Deserialize<'de> for SendSagaState
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 SendSagaState
impl Display for SendSagaState
Source§impl FromStr for SendSagaState
impl FromStr for SendSagaState
Source§impl Hash for SendSagaState
impl Hash for SendSagaState
Source§impl PartialEq for SendSagaState
impl PartialEq for SendSagaState
Source§impl Serialize for SendSagaState
impl Serialize for SendSagaState
impl Copy for SendSagaState
impl Eq for SendSagaState
impl StructuralPartialEq for SendSagaState
Auto Trait Implementations§
impl Freeze for SendSagaState
impl RefUnwindSafe for SendSagaState
impl Send for SendSagaState
impl Sync for SendSagaState
impl Unpin for SendSagaState
impl UnsafeUnpin for SendSagaState
impl UnwindSafe for SendSagaState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.