#[repr(i32)]pub enum LifecycleSource {
SOURCE_UNSPECIFIED = 0,
SOURCE_RELAYER = 1,
SOURCE_POLYESTER_CHAIN = 2,
SOURCE_EXECUTOR = 3,
SOURCE_LEDGER = 4,
}Expand description
LifecycleSource identifies the subsystem that emitted a normalized fact or visible milestone.
Variants§
SOURCE_UNSPECIFIED = 0
SOURCE_RELAYER = 1
Off-chain relayer or source-chain watcher.
SOURCE_POLYESTER_CHAIN = 2
Polyester Chain contract event or other chain-owned lifecycle fact.
SOURCE_EXECUTOR = 3
Executor-owned lifecycle fact.
SOURCE_LEDGER = 4
Off-chain ledger posting or settlement fact.
Implementations§
Source§impl LifecycleSource
impl LifecycleSource
Sourcepub const SourceUnspecified: Self = Self::SOURCE_UNSPECIFIED
pub const SourceUnspecified: Self = Self::SOURCE_UNSPECIFIED
Idiomatic alias for Self::SOURCE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const SourceRelayer: Self = Self::SOURCE_RELAYER
pub const SourceRelayer: Self = Self::SOURCE_RELAYER
Idiomatic alias for Self::SOURCE_RELAYER; Debug prints the variant name.
Sourcepub const SourcePolyesterChain: Self = Self::SOURCE_POLYESTER_CHAIN
pub const SourcePolyesterChain: Self = Self::SOURCE_POLYESTER_CHAIN
Idiomatic alias for Self::SOURCE_POLYESTER_CHAIN; Debug prints the variant name.
Sourcepub const SourceExecutor: Self = Self::SOURCE_EXECUTOR
pub const SourceExecutor: Self = Self::SOURCE_EXECUTOR
Idiomatic alias for Self::SOURCE_EXECUTOR; Debug prints the variant name.
Sourcepub const SourceLedger: Self = Self::SOURCE_LEDGER
pub const SourceLedger: Self = Self::SOURCE_LEDGER
Idiomatic alias for Self::SOURCE_LEDGER; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for LifecycleSource
impl Clone for LifecycleSource
Source§fn clone(&self) -> LifecycleSource
fn clone(&self) -> LifecycleSource
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 LifecycleSource
Source§impl Debug for LifecycleSource
impl Debug for LifecycleSource
Source§impl Default for LifecycleSource
impl Default for LifecycleSource
Source§impl<'de> Deserialize<'de> for LifecycleSource
impl<'de> Deserialize<'de> for LifecycleSource
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for LifecycleSource
impl Enumeration for LifecycleSource
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for LifecycleSource
Source§impl Hash for LifecycleSource
impl Hash for LifecycleSource
Source§impl PartialEq for LifecycleSource
impl PartialEq for LifecycleSource
Source§impl ProtoElemJson for LifecycleSource
impl ProtoElemJson for LifecycleSource
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>
Serialize this value with proto3 JSON semantics.
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>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for LifecycleSource
impl Serialize for LifecycleSource
impl StructuralPartialEq for LifecycleSource
Auto Trait Implementations§
impl Freeze for LifecycleSource
impl RefUnwindSafe for LifecycleSource
impl Send for LifecycleSource
impl Sync for LifecycleSource
impl Unpin for LifecycleSource
impl UnsafeUnpin for LifecycleSource
impl UnwindSafe for LifecycleSource
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
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
Compare self to
key and return true if they are equal.