#[repr(i32)]pub enum FlowState {
STATE_UNSPECIFIED = 0,
STATE_PENDING_SOURCE = 1,
STATE_PENDING_POLYESTER_CHAIN = 2,
STATE_PENDING_LEDGER = 3,
STATE_COMPLETED = 4,
STATE_FAILED = 5,
STATE_DROPPED = 6,
STATE_REFUNDED = 7,
}Expand description
FlowState is the latest lifecycle state after folding normalized facts.
Variants§
STATE_UNSPECIFIED = 0
STATE_PENDING_SOURCE = 1
Flow exists and is still waiting on source-chain progress.
STATE_PENDING_POLYESTER_CHAIN = 2
Flow is now progressing on Polyester Chain after source readiness.
STATE_PENDING_LEDGER = 3
Flow is now waiting for an off-chain ledger effect or settlement effect.
STATE_COMPLETED = 4
Flow completed successfully.
STATE_FAILED = 5
Flow failed and is no longer progressing.
STATE_DROPPED = 6
Flow was dropped before successful completion.
STATE_REFUNDED = 7
Flow ended in a refund or reversal.
Implementations§
Source§impl FlowState
impl FlowState
Sourcepub const StateUnspecified: Self = Self::STATE_UNSPECIFIED
pub const StateUnspecified: Self = Self::STATE_UNSPECIFIED
Idiomatic alias for Self::STATE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const StatePendingSource: Self = Self::STATE_PENDING_SOURCE
pub const StatePendingSource: Self = Self::STATE_PENDING_SOURCE
Idiomatic alias for Self::STATE_PENDING_SOURCE; Debug prints the variant name.
Sourcepub const StatePendingPolyesterChain: Self = Self::STATE_PENDING_POLYESTER_CHAIN
pub const StatePendingPolyesterChain: Self = Self::STATE_PENDING_POLYESTER_CHAIN
Idiomatic alias for Self::STATE_PENDING_POLYESTER_CHAIN; Debug prints the variant name.
Sourcepub const StatePendingLedger: Self = Self::STATE_PENDING_LEDGER
pub const StatePendingLedger: Self = Self::STATE_PENDING_LEDGER
Idiomatic alias for Self::STATE_PENDING_LEDGER; Debug prints the variant name.
Sourcepub const StateCompleted: Self = Self::STATE_COMPLETED
pub const StateCompleted: Self = Self::STATE_COMPLETED
Idiomatic alias for Self::STATE_COMPLETED; Debug prints the variant name.
Sourcepub const StateFailed: Self = Self::STATE_FAILED
pub const StateFailed: Self = Self::STATE_FAILED
Idiomatic alias for Self::STATE_FAILED; Debug prints the variant name.
Sourcepub const StateDropped: Self = Self::STATE_DROPPED
pub const StateDropped: Self = Self::STATE_DROPPED
Idiomatic alias for Self::STATE_DROPPED; Debug prints the variant name.
Sourcepub const StateRefunded: Self = Self::STATE_REFUNDED
pub const StateRefunded: Self = Self::STATE_REFUNDED
Idiomatic alias for Self::STATE_REFUNDED; Debug prints the variant name.
Trait Implementations§
impl Copy for FlowState
Source§impl<'de> Deserialize<'de> for FlowState
impl<'de> Deserialize<'de> for FlowState
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Source§impl Enumeration for FlowState
impl Enumeration for FlowState
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
.proto file.impl Eq for FlowState
Source§impl ProtoElemJson for FlowState
impl ProtoElemJson for FlowState
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
impl StructuralPartialEq for FlowState
Auto Trait Implementations§
impl Freeze for FlowState
impl RefUnwindSafe for FlowState
impl Send for FlowState
impl Sync for FlowState
impl Unpin for FlowState
impl UnsafeUnpin for FlowState
impl UnwindSafe for FlowState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.