pub enum RuntimeEvent {
Show 44 variants System(SystemEvent), Indices(IndicesEvent), Balances(BalancesEvent<AccountId>), TransactionPayment(TransactionPaymentEvent<u128, AccountId>), Identity(IdentityEvent<AccountId, u64>), CddServiceProviders(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance2>), PolymeshCommittee(UpgradeCommitteeEvent<H256, u32, Instance1>), CommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance1>), TechnicalCommittee(UpgradeCommitteeEvent<H256, u32, Instance3>), TechnicalCommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance3>), UpgradeCommittee(UpgradeCommitteeEvent<H256, u32, Instance4>), UpgradeCommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance4>), MultiSig(MultiSigEvent<AccountId>), Bridge(BridgeEvent<AccountId, u32>), Staking(StakingEvent<u128, AccountId>), Offences(OffencesEvent), Session(SessionEvent), Grandpa(GrandpaEvent), ImOnline(ImOnlineEvent), Sudo(SudoEvent<AccountId>), Asset(AssetEvent<u64, AccountId>), CapitalDistribution(CapitalDistributionEvent), Checkpoint(CheckpointEvent), ComplianceManager(ComplianceManagerEvent), CorporateAction(CorporateActionEvent), CorporateBallot(CorporateBallotEvent), Pips(PipsEvent<AccountId, u32>), Portfolio(PortfolioEvent), ProtocolFee(ProtocolFeeEvent<AccountId>), Scheduler(SchedulerEvent), Settlement(SettlementEvent<u64, u32, AccountId>), Statistics(StatisticsEvent), Sto(StoEvent<u64>), Treasury(TreasuryEvent<u128, AccountId>), Utility(UtilityEvent), Base(BaseEvent), ExternalAgents(ExternalAgentsEvent), Relayer(RelayerEvent<AccountId>), Rewards(RewardsEvent<AccountId>), Contracts(ContractsEvent), PolymeshContracts(PolymeshContractsEvent), Preimage(PreimageEvent), Nft(NftEvent), TestUtils(TestUtilsEvent<AccountId>),
}

Variants§

§

System(SystemEvent)

§

Indices(IndicesEvent)

§

Balances(BalancesEvent<AccountId>)

§

TransactionPayment(TransactionPaymentEvent<u128, AccountId>)

§

Identity(IdentityEvent<AccountId, u64>)

§

CddServiceProviders(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance2>)

§

PolymeshCommittee(UpgradeCommitteeEvent<H256, u32, Instance1>)

§

CommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance1>)

§

TechnicalCommittee(UpgradeCommitteeEvent<H256, u32, Instance3>)

§

TechnicalCommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance3>)

§

UpgradeCommittee(UpgradeCommitteeEvent<H256, u32, Instance4>)

§

UpgradeCommitteeMembership(UpgradeCommitteeMembershipEvent<AccountId, RuntimeEvent, Instance4>)

§

MultiSig(MultiSigEvent<AccountId>)

§

Bridge(BridgeEvent<AccountId, u32>)

§

Staking(StakingEvent<u128, AccountId>)

§

Offences(OffencesEvent)

§

Session(SessionEvent)

§

Grandpa(GrandpaEvent)

§

ImOnline(ImOnlineEvent)

§

Sudo(SudoEvent<AccountId>)

§

Asset(AssetEvent<u64, AccountId>)

§

CapitalDistribution(CapitalDistributionEvent)

§

Checkpoint(CheckpointEvent)

§

ComplianceManager(ComplianceManagerEvent)

§

CorporateAction(CorporateActionEvent)

§

CorporateBallot(CorporateBallotEvent)

§

Pips(PipsEvent<AccountId, u32>)

§

Portfolio(PortfolioEvent)

§

ProtocolFee(ProtocolFeeEvent<AccountId>)

§

Scheduler(SchedulerEvent)

§

Settlement(SettlementEvent<u64, u32, AccountId>)

§

Statistics(StatisticsEvent)

§

Sto(StoEvent<u64>)

§

Treasury(TreasuryEvent<u128, AccountId>)

§

Utility(UtilityEvent)

§

Base(BaseEvent)

§

ExternalAgents(ExternalAgentsEvent)

§

Relayer(RelayerEvent<AccountId>)

§

Rewards(RewardsEvent<AccountId>)

§

Contracts(ContractsEvent)

§

PolymeshContracts(PolymeshContractsEvent)

§

Preimage(PreimageEvent)

§

Nft(NftEvent)

§

TestUtils(TestUtilsEvent<AccountId>)

Implementations§

source§

impl RuntimeEvent

source

pub fn as_static_str(&self) -> &'static str

Trait Implementations§

source§

impl Clone for RuntimeEvent

source§

fn clone(&self) -> RuntimeEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeEvent

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
source§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
source§

fn skip<I>(input: &mut I) -> Result<(), Error>where I: Input,

Attempt to skip the encoded value from input. Read more
source§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<'de> Deserialize<'de> for RuntimeEvent

source§

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 Encode for RuntimeEvent

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
source§

fn encode(&self) -> Vec<u8, Global>

Convert self to an owned vector.
source§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
source§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl EnumInfo for RuntimeEvent

source§

fn as_name(&self) -> &'static str

source§

fn as_docs(&self) -> &'static [&'static str]

source§

fn as_short_doc(&self) -> &'static str

source§

impl From<&RuntimeEvent> for &'static str

source§

fn from(v: &RuntimeEvent) -> Self

Converts to this type from the input type.
source§

impl From<RuntimeEvent> for &'static str

source§

fn from(v: RuntimeEvent) -> Self

Converts to this type from the input type.
source§

impl PartialEq<RuntimeEvent> for RuntimeEvent

source§

fn eq(&self, other: &RuntimeEvent) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for RuntimeEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl EncodeLike<RuntimeEvent> for RuntimeEvent

source§

impl Eq for RuntimeEvent

source§

impl StructuralEq for RuntimeEvent

source§

impl StructuralPartialEq for RuntimeEvent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
source§

impl<T> DecodeAll for Twhere T: Decode,

source§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
source§

impl<T> DecodeLimit for Twhere T: Decode,

source§

fn decode_all_with_depth_limit( limit: u32, input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
source§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
§

impl<T> Downcast for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

source§

impl<T> KeyedVec for Twhere T: Codec,

source§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8, Global>

Return an encoding of Self prepended by given slice.
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatedConversion for T

source§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
source§

fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
source§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

source§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<S> Codec for Swhere S: Decode + Encode,

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

source§

impl<T> EncodeLike<&&T> for Twhere T: Encode,

source§

impl<T> EncodeLike<&T> for Twhere T: Encode,

source§

impl<T> EncodeLike<&mut T> for Twhere T: Encode,

source§

impl<T> EncodeLike<Arc<T, Global>> for Twhere T: Encode,

source§

impl<T> EncodeLike<Box<T, Global>> for Twhere T: Encode,

source§

impl<'a, T> EncodeLike<Cow<'a, T>> for Twhere T: ToOwned + Encode,

source§

impl<T> EncodeLike<Rc<T, Global>> for Twhere T: Encode,

source§

impl<S> FullCodec for Swhere S: Decode + FullEncode,

source§

impl<S> FullEncode for Swhere S: Encode + EncodeLike<S>,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<T> MaybeSerialize for Twhere T: Serialize,

§

impl<T> MaybeSerializeDeserialize for Twhere T: DeserializeOwned + Serialize,

§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq<T> + Clone + 'static,

source§

impl<T> RuntimeEnumTraits for Twhere T: RuntimeTraits + EnumInfo,

source§

impl<T> RuntimeTraits for Twhere T: Clone + Encode + Decode + Serialize + DeserializeOwned + Debug,