Enum jormungandr::blockcfg::Fragment
source · pub enum Fragment {
Show 16 variants
Initial(ConfigParams),
OldUtxoDeclaration(UtxoDeclaration),
Transaction(Transaction<NoExtra>),
OwnerStakeDelegation(Transaction<OwnerStakeDelegation>),
StakeDelegation(Transaction<StakeDelegation>),
PoolRegistration(Transaction<PoolRegistration>),
PoolRetirement(Transaction<PoolRetirement>),
PoolUpdate(Transaction<PoolUpdate>),
UpdateProposal(Transaction<UpdateProposal>),
UpdateVote(Transaction<UpdateVote>),
VotePlan(Transaction<VotePlan>),
VoteCast(Transaction<VoteCast>),
VoteTally(Transaction<VoteTally>),
MintToken(Transaction<MintToken>),
Evm(EvmTransaction),
EvmMapping(Transaction<EvmMapping>),
}
Expand description
All possible messages recordable in the content
Variants§
Initial(ConfigParams)
OldUtxoDeclaration(UtxoDeclaration)
Transaction(Transaction<NoExtra>)
OwnerStakeDelegation(Transaction<OwnerStakeDelegation>)
StakeDelegation(Transaction<StakeDelegation>)
PoolRegistration(Transaction<PoolRegistration>)
PoolRetirement(Transaction<PoolRetirement>)
PoolUpdate(Transaction<PoolUpdate>)
UpdateProposal(Transaction<UpdateProposal>)
UpdateVote(Transaction<UpdateVote>)
VotePlan(Transaction<VotePlan>)
VoteCast(Transaction<VoteCast>)
VoteTally(Transaction<VoteTally>)
MintToken(Transaction<MintToken>)
Evm(EvmTransaction)
EvmMapping(Transaction<EvmMapping>)
Implementations§
Trait Implementations§
source§impl Deserialize for Fragment
impl Deserialize for Fragment
source§impl Encode for Fragment
impl Encode for Fragment
type NetworkData = Fragment
fn encode(&self) -> Self::NetworkData
source§impl From<FragmentDef> for Fragment
impl From<FragmentDef> for Fragment
source§fn from(fragment_def: FragmentDef) -> Fragment
fn from(fragment_def: FragmentDef) -> Fragment
Converts to this type from the input type.
source§impl PartialEq<Fragment> for Fragment
impl PartialEq<Fragment> for Fragment
source§impl Serialize for Fragment
impl Serialize for Fragment
source§fn serialized_size(&self) -> usize
fn serialized_size(&self) -> usize
Default implementation, not efficient, not recommended to use it
fn serialize<W>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>where W: Write,
source§fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>
fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>
Convenience method to serialize into a byte vector.
impl Eq for Fragment
Auto Trait Implementations§
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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> DeserializeFromSlice for Twhere
T: Deserialize,
impl<T> DeserializeFromSlice for Twhere T: Deserialize,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request