pub enum RuntimeEvents {
BindingCalled(BindingCalled),
ConsoleApiCalled(ConsoleApiCalled),
ExceptionRevoked(ExceptionRevoked),
ExceptionThrown(ExceptionThrown),
ExecutionContextCreated(ExecutionContextCreated),
ExecutionContextDestroyed(ExecutionContextDestroyed),
ExecutionContextsCleared(ExecutionContextsCleared),
InspectRequested(InspectRequested),
}Variants§
BindingCalled(BindingCalled)
ConsoleApiCalled(ConsoleApiCalled)
ExceptionRevoked(ExceptionRevoked)
ExceptionThrown(ExceptionThrown)
ExecutionContextCreated(ExecutionContextCreated)
ExecutionContextDestroyed(ExecutionContextDestroyed)
ExecutionContextsCleared(ExecutionContextsCleared)
InspectRequested(InspectRequested)
Implementations§
Source§impl RuntimeEvents
impl RuntimeEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RuntimeEvents
impl Clone for RuntimeEvents
Source§fn clone(&self) -> RuntimeEvents
fn clone(&self) -> RuntimeEvents
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 RuntimeEvents
impl Debug for RuntimeEvents
Source§impl<'de> Deserialize<'de> for RuntimeEvents
impl<'de> Deserialize<'de> for RuntimeEvents
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 From<BindingCalled> for RuntimeEvents
impl From<BindingCalled> for RuntimeEvents
Source§fn from(v: BindingCalled) -> Self
fn from(v: BindingCalled) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleApiCalled> for RuntimeEvents
impl From<ConsoleApiCalled> for RuntimeEvents
Source§fn from(v: ConsoleApiCalled) -> Self
fn from(v: ConsoleApiCalled) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionRevoked> for RuntimeEvents
impl From<ExceptionRevoked> for RuntimeEvents
Source§fn from(v: ExceptionRevoked) -> Self
fn from(v: ExceptionRevoked) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionThrown> for RuntimeEvents
impl From<ExceptionThrown> for RuntimeEvents
Source§fn from(v: ExceptionThrown) -> Self
fn from(v: ExceptionThrown) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionContextCreated> for RuntimeEvents
impl From<ExecutionContextCreated> for RuntimeEvents
Source§fn from(v: ExecutionContextCreated) -> Self
fn from(v: ExecutionContextCreated) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionContextDestroyed> for RuntimeEvents
impl From<ExecutionContextDestroyed> for RuntimeEvents
Source§fn from(v: ExecutionContextDestroyed) -> Self
fn from(v: ExecutionContextDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionContextsCleared> for RuntimeEvents
impl From<ExecutionContextsCleared> for RuntimeEvents
Source§fn from(v: ExecutionContextsCleared) -> Self
fn from(v: ExecutionContextsCleared) -> Self
Converts to this type from the input type.
Source§impl From<InspectRequested> for RuntimeEvents
impl From<InspectRequested> for RuntimeEvents
Source§fn from(v: InspectRequested) -> Self
fn from(v: InspectRequested) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeEvents> for Event
impl From<RuntimeEvents> for Event
Source§fn from(v: RuntimeEvents) -> Self
fn from(v: RuntimeEvents) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeEvents> for JsProtocolEvents
impl From<RuntimeEvents> for JsProtocolEvents
Source§fn from(v: RuntimeEvents) -> Self
fn from(v: RuntimeEvents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeEvents
impl PartialEq for RuntimeEvents
Source§impl Serialize for RuntimeEvents
impl Serialize for RuntimeEvents
Source§impl TryFrom<Event> for RuntimeEvents
impl TryFrom<Event> for RuntimeEvents
Source§impl TryFrom<JsProtocolEvents> for RuntimeEvents
impl TryFrom<JsProtocolEvents> for RuntimeEvents
Source§type Error = JsProtocolEvents
type Error = JsProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolEvents,
) -> Result<Self, <RuntimeEvents as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <RuntimeEvents as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for BindingCalled
impl TryFrom<RuntimeEvents> for BindingCalled
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <BindingCalled as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <BindingCalled as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ConsoleApiCalled
impl TryFrom<RuntimeEvents> for ConsoleApiCalled
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ConsoleApiCalled as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ConsoleApiCalled as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExceptionRevoked
impl TryFrom<RuntimeEvents> for ExceptionRevoked
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExceptionRevoked as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExceptionRevoked as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExceptionThrown
impl TryFrom<RuntimeEvents> for ExceptionThrown
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExceptionThrown as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExceptionThrown as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExecutionContextCreated
impl TryFrom<RuntimeEvents> for ExecutionContextCreated
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExecutionContextCreated as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExecutionContextCreated as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExecutionContextDestroyed
impl TryFrom<RuntimeEvents> for ExecutionContextDestroyed
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExecutionContextDestroyed as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExecutionContextDestroyed as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExecutionContextsCleared
impl TryFrom<RuntimeEvents> for ExecutionContextsCleared
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExecutionContextsCleared as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExecutionContextsCleared as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for InspectRequested
impl TryFrom<RuntimeEvents> for InspectRequested
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <InspectRequested as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <InspectRequested as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for RuntimeEvents
Auto Trait Implementations§
impl Freeze for RuntimeEvents
impl RefUnwindSafe for RuntimeEvents
impl Send for RuntimeEvents
impl Sync for RuntimeEvents
impl Unpin for RuntimeEvents
impl UnsafeUnpin for RuntimeEvents
impl UnwindSafe for RuntimeEvents
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